LP 1744386 & LP 1777184 - stat cats & stat cat entries not alphabetical
authorSuzanne Paterno <paterno@noblenet.org>
Tue, 9 Apr 2019 14:42:15 +0000 (10:42 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 16 Oct 2019 18:45:00 +0000 (14:45 -0400)
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

index b600013..9dbdb9e 100644 (file)
@@ -127,9 +127,10 @@ 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'} ]
             },