From: Galen Charlton Date: Mon, 6 Feb 2017 17:07:01 +0000 (-0500) Subject: LP#1541801: order search fields in Z39.50 alphabetically X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b5e60e16a799e12508bb66a30e9b706b03106114;p=evergreen%2Fpines.git LP#1541801: order search fields in Z39.50 alphabetically This patch causes search fields in the Z39.50 search interface in the web staff client to be place in alphabetical order by field label. To test: [1] Open the Z39.50 search page in the web staff client and select one or more search services. [2] Verify that the list of fields is ordered alphabetically. Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/staff/cat/z3950/t_search_fields.tt2 b/Open-ILS/src/templates/staff/cat/z3950/t_search_fields.tt2 index 753f9987b6..e62074203a 100644 --- a/Open-ILS/src/templates/staff/cat/z3950/t_search_fields.tt2 +++ b/Open-ILS/src/templates/staff/cat/z3950/t_search_fields.tt2 @@ -1,5 +1,5 @@
-
+
diff --git a/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js b/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js index c8f36e95e1..b0bd16160b 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js @@ -3,7 +3,7 @@ */ angular.module('egCatZ3950Search', - ['ngRoute', 'ui.bootstrap', 'egCoreMod', 'egUiMod', 'egGridMod', 'egZ3950Mod', 'egMarcMod']) + ['ngRoute', 'ui.bootstrap', 'ngOrderObjectBy', 'egCoreMod', 'egUiMod', 'egGridMod', 'egZ3950Mod', 'egMarcMod']) .config(function($routeProvider, $locationProvider, $compileProvider) { $locationProvider.html5Mode(true);