dev/core#1262 - Fix case status order in case type settings page
authorvarshith89 <vinu@compucorp.co.uk>
Wed, 18 Sep 2019 07:42:24 +0000 (07:42 +0000)
committervarshith89 <vinu@compucorp.co.uk>
Wed, 18 Sep 2019 07:42:24 +0000 (07:42 +0000)
ang/crmCaseType.js

index a1ff51ae5749074c93fd2d019b1e93a5950f9815..f140712ea46b234aa7c92fde868be7ee842f3b74 100644 (file)
             reqs.caseStatuses = ['OptionValue', 'get', {
               option_group_id: 'case_status',
               sequential: 1,
-              options: {limit: 0}
+              options: {
+                sort: 'weight',
+                limit: 0
+              }
             }];
             reqs.actTypes = ['OptionValue', 'get', {
               option_group_id: 'activity_type',