From: varshith89 <vinu@compucorp.co.uk>
Date: Wed, 18 Sep 2019 07:42:24 +0000 (+0000)
Subject: dev/core#1262 - Fix case status order in case type settings page
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6a55cb0129b5b6d272b6f0aa29d5155843a583f9;p=civicrm-core.git

dev/core#1262 - Fix case status order in case type settings page
---

diff --git a/ang/crmCaseType.js b/ang/crmCaseType.js
index a1ff51ae57..f140712ea4 100644
--- a/ang/crmCaseType.js
+++ b/ang/crmCaseType.js
@@ -57,7 +57,10 @@
             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',