LP#492036, we neeed all bucket methods to be authoritative. Some already were, this finishes the job.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
method => "bucket_retrieve_class",
api_name => "open-ils.actor.container.retrieve_by_class",
argc => 3,
+ authoritative => 1,
notes => <<" NOTES");
Retrieves all un-fleshed buckets by class assigned to given user
PARAMS(authtoken, bucketOwnerId, class [, type])
var bucketStore = new dojo.data.ItemFileReadStore(
{ data : cbreb.toStoreData(
fieldmapper.standardRequest(
- ['open-ils.actor','open-ils.actor.container.retrieve_by_class'],
+ ['open-ils.actor','open-ils.actor.container.retrieve_by_class.authoritative'],
[u.authtoken, u.user.id(), 'biblio', 'staff_client']
)
)
var FETCH_ADV_ISSN_RIDS = "open-ils.search:open-ils.search.biblio.issn:1";
var FETCH_ADV_TCN_RIDS = "open-ils.search:open-ils.search.biblio.tcn";
var FETCH_CNBROWSE = 'open-ils.search:open-ils.search.callnumber.browse';
-var FETCH_CONTAINERS = 'open-ils.actor:open-ils.actor.container.retrieve_by_class';
-var FETCH_CONTAINERS = 'open-ils.actor:open-ils.actor.container.retrieve_by_class';
+var FETCH_CONTAINERS = 'open-ils.actor:open-ils.actor.container.retrieve_by_class.authoritative';
var CREATE_CONTAINER = 'open-ils.actor:open-ils.actor.container.create';
var DELETE_CONTAINER = 'open-ils.actor:open-ils.actor.container.full_delete';
var CREATE_CONTAINER_ITEM = 'open-ils.actor:open-ils.actor.container.item.create';