webstaff: fixed client-side sorting of names in add-to-bucket dialog
authorGalen Charlton <gmc@esilibrary.com>
Thu, 21 Jan 2016 22:42:47 +0000 (17:42 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 21 Jan 2016 22:42:47 +0000 (17:42 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/templates/staff/cat/catalog/t_add_to_bucket.tt2

index cbcf35d..79f2914 100644 (file)
@@ -10,7 +10,7 @@
     </div>
     <div class="col-md-4">
       <select id="select-bucket" class="form-control" ng-model="bucket_id"
-              ng-options="bucket.id() as bucket.name() for bucket in allBuckets | orderBy:bucket.name()">
+              ng-options="bucket.id() as bucket.name() for bucket in allBuckets | orderBy:'name()'">
       </select>
     </div>
     <div class="col-md-4">