From: Galen Charlton Date: Thu, 21 Jan 2016 22:31:46 +0000 (-0500) Subject: webstaff: alphabetize status and location dropdowns in copy-editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ec8fb38aa66b2f37bb20eaccedecc113c56ed318;p=evergreen%2Fpines.git webstaff: alphabetize status and location dropdowns in copy-editor Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- 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 5dbccfa0e4..9bdec0beba 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 @@ -126,7 +126,7 @@ function(egCore , $q) { service.get_locations = function(orgs) { return egCore.pcrud.search('acpl', {owning_lib : orgs}, - null, {atomic : true} + {order_by : { acpl : 'name' }}, {atomic : true} ); }; @@ -142,7 +142,7 @@ function(egCore , $q) { if (egCore.env.ccs) return $q.when(egCore.env.ccs.list); - return egCore.pcrud.retrieveAll('ccs', {}, {atomic : true}).then( + return egCore.pcrud.retrieveAll('ccs', {order_by : { ccs : 'name' }}, {atomic : true}).then( function(list) { egCore.env.absorbList(list, 'ccs'); return list;