From: Suzanne Paterno <paterno@noblenet.org>
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=3ac2009398beecf0143f443f40d8b8b028dc6967;p=contrib%2FConifer.git

LP 1744386 & LP 1777184 - stat cats & stat cat entries not alphabetical

Statistical categories will be alphabetized first by library and then by category.

The entires within each category will also be alphabetized.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Cesar Velez <cesar.velez@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
---

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 5923b401b2..a9c28c976e 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
@@ -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 }
         );