Merge pull request #21993 from mattwire/aclcachequery2
[civicrm-core.git] / ang / crmStatusPage / StatusPageCtrl.js
index 0fd79df29f4b3b6c4f8f47061fe90dd647739fd8..5dad04fc593c67f282ce5bcd62909ca057144ebc 100644 (file)
@@ -10,7 +10,7 @@
       // Refresh the list. Optionally execute api calls first.
       function refresh(apiCalls, title) {
         title = title || 'Untitled operation';
-        apiCalls = (apiCalls || []).concat([['System', 'check', {sequential: 1, options: {limit: 0}}]]);
+        apiCalls = (apiCalls || []).concat([['System', 'check', {sequential: 1, options: {limit: 0, sort: 'severity_id DESC'}}]]);
         $('#crm-status-list').block();
         crmApi(apiCalls, true)
           .then(function(results) {