From: Alice Frumin Date: Thu, 9 May 2019 16:33:56 +0000 (-0400) Subject: dev/core#530 CiviCase: when creating a new reltype assume client is A X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f34c103499479213f09b854e2e5fdf804014b561;p=civicrm-core.git dev/core#530 CiviCase: when creating a new reltype assume client is A --- diff --git a/ang/crmCaseType.js b/ang/crmCaseType.js index 4dc077a37b..a1ff51ae57 100644 --- a/ang/crmCaseType.js +++ b/ang/crmCaseType.js @@ -473,7 +473,7 @@ CRM.loadForm(CRM.url('civicrm/admin/reltype', {action: 'add', reset: 1, label_a_b: roleName})) .on('crmFormSuccess', function(e, data) { var newType = _.values(data.relationshipType)[0]; - roles.push({name: newType.label_a_b, displaylabel: newType.label_b_a}); + roles.push({name: newType.label_b_a, displaylabel: newType.label_a_b}); // Assume that the case role should be A-B but add both directions as options. $scope.relationshipTypeOptions.push({id: newType.label_a_b, text: newType.label_a_b}); if (newType.label_a_b != newType.label_b_a) {