When uploading bibs to vandelay queues from ACQ interfaces, only allow
records to be added to queues tagged as 'acq' queues (or to new 'acq'
queues).
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
fmClass : widg.cls,
selfReference : true,
orgLimitPerms : [self.limitPerm || 'CREATE_PURCHASE_ORDER'],
- parentNode : dojo.byId('acq_vl:' + widg.key)
+ parentNode : dojo.byId('acq_vl:' + widg.key),
+ searchFilter : (widg.cls == 'vbq') ? {queue_type : 'acq'} : null
}).build(function(dijit) {
widg.dijit = dijit;
self.attachOnChange(widg);