LP 1744386 & LP 1777184 - stat cats & stat cat entries not alphabetical collab/cesardv/phasefx_lp1777184_signoff
authorSuzanne Paterno <paterno@noblenet.org>
Tue, 9 Apr 2019 14:42:15 +0000 (10:42 -0400)
committerCesar Velez <cesar.velez@equinoxinitiative.org>
Tue, 16 Apr 2019 14:50:35 +0000 (10:50 -0400)
Statistical categories will be alphabetized first by library and then byt category.

The entires within each category will also be alphabetizes

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Cesar Velez <cesar.velez@EquinoxInitiative.org>
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js

index 76e637a..b87f732 100644 (file)
@@ -130,7 +130,8 @@ function(egCore , $q) {
             { flesh : 1,
               flesh_fields : {
                 asc : ['owner','entries']
-              }
+              },
+              order_by : [{'class':'asc', 'field':'owner'},{'class':'asc', 'field':'name'},{'class':'asce', 'field':'value'} ]
             },
             { atomic : true }
         );