This reverts the original fix for LP#
1119370.
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
-<div ng-repeat="target in targets | orderBy:'settings.label'" class="z3950-target-list">
+<div ng-repeat="target in targets" class="z3950-target-list">
<div class="checkbox">
<input ng-model="target.selected" type="checkbox">
<div>
this.push(tgt);
}, service.targets);
service.targets.sort(function (a, b) {
- a = a.settings.label;
- b = b.settings.label;
+ a = a.settings.label.toLowerCase();
+ b = b.settings.label.toLowerCase();
return a < b ? -1 : (a > b ? 1 : 0);
});
service.targets.unshift({