Show Vandelay Buckets in Manage Record Buckets
authorDan Wells <dbw2@calvin.edu>
Mon, 11 Jun 2012 15:18:08 +0000 (11:18 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 11 Jun 2012 17:48:09 +0000 (13:48 -0400)
The 'Manage Record Buckets' view is currently filtered to show
only 'staff_client' type buckets.  This expands the filter to
include 'vandelay_queue' buckets.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/xul/staff_client/server/cat/record_buckets.js

index e4a0038..6d11ca1 100644 (file)
@@ -296,7 +296,7 @@ cat.record_buckets.prototype = {
                                         util.functional.filter_list(
                                             buckets.biblio,
                                             function(o) {
-                                                return o.btype() == 'staff_client';
+                                                return (o.btype() == 'staff_client' || o.btype() == 'vandelay_queue');
                                             }
                                         ),
                                         function(o) {