From a5c3c964cb2026b559d3db862daa28723e6b8058 Mon Sep 17 00:00:00 2001 From: Suzanne Paterno Date: Tue, 9 Apr 2019 10:42:15 -0400 Subject: [PATCH] LP 1744386 & LP 1777184 - stat cats & stat cat entries not alphabetical Statistical categories will be alphabetized first by library and then byt category. The entires within each category will also be alphabetizes --- Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index 11547dc4c6..7bc293bbf2 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -127,10 +127,12 @@ function(egCore , $q) { service.get_statcats = function(orgs) { return egCore.pcrud.search('asc', {owner : orgs}, - { flesh : 1, + { flesh : 2, flesh_fields : { - asc : ['owner','entries'] - } + asc : ['owner','entries'], + asce : ['value'] + }, + order_by : [{'class':'asc', 'field':'owner'},{'class':'asc', 'field':'name'},{'class':'asce', 'field':'value'} ] }, { atomic : true } ); -- 2.11.0