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)
committerKathy Lussier <klussier@masslnc.org>
Tue, 2 Feb 2016 19:58:53 +0000 (14:58 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
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"
     </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">
       </select>
     </div>
     <div class="col-md-4">