From 3ac2009398beecf0143f443f40d8b8b028dc6967 Mon Sep 17 00:00:00 2001
From: Suzanne Paterno <paterno@noblenet.org>
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 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>
---
 Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 }
         );
-- 
2.11.0