From: Suzanne Paterno Date: Tue, 9 Apr 2019 14:42:15 +0000 (-0400) Subject: LP 1744386 & LP 1777184 - stat cats & stat cat entries not alphabetical X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a5c3c964cb2026b559d3db862daa28723e6b8058;p=evergreen%2Fpines.git 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 --- 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 } );