From 36d72cf046db42561a3f9e255a5facca18e27117 Mon Sep 17 00:00:00 2001 From: Cesar Velez <cesar.velez@equinoxinitiative.org> Date: Fri, 22 Dec 2017 12:04:24 -0500 Subject: [PATCH] LP#1739786 - Webstaff MarcEditor BibSource Drop Down Order Sort the list of bib sources in MARC editor alphabetically; some libraries may have a long list. 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/services/marcedit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js index bce2ba78da..2430dc0847 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js +++ b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js @@ -1452,7 +1452,7 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap']) restrict: 'E', replace: true, template: '<span class="nullable">'+ - '<select class="form-control" ng-model="bib_source" ng-options="s.id() as s.source() for s in bib_sources">'+ + '<select class="form-control" ng-model="bib_source" ng-options="s.id() as s.source() for s in bib_sources | orderBy: \'source()\'">'+ '<option value="">Select a Source</option>'+ '</select>'+ '</span>', -- 2.11.0