From f34c103499479213f09b854e2e5fdf804014b561 Mon Sep 17 00:00:00 2001 From: Alice Frumin Date: Thu, 9 May 2019 12:33:56 -0400 Subject: [PATCH] dev/core#530 CiviCase: when creating a new reltype assume client is A --- ang/crmCaseType.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.25.1