[open-ils-commits] [GIT] Evergreen ILS branch master updated. 9544ad05dc0d30ed5782b528fac3e2bdfa90e4dd

Evergreen Git git at git.evergreen-ils.org
Wed Jun 22 10:39:59 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  9544ad05dc0d30ed5782b528fac3e2bdfa90e4dd (commit)
      from  13acc6a9e4bcd174384039b635dd9d76a51b781e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9544ad05dc0d30ed5782b528fac3e2bdfa90e4dd
Author: Mike Rylander <mrylander at gmail.com>
Date:   Wed Jun 22 10:36:13 2011 -0400

    Make bucket content retrieval authoritative
    
    LP#492036, we neeed all bucket methods to be authoritative.  Some already were, this finishes the job.
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/Container.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/Container.pm
index 9126ad8..ec381ab 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/Container.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/Container.pm
@@ -163,6 +163,7 @@ __PACKAGE__->register_method(
 	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])
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm
index 18cf327..56af440 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm
@@ -364,7 +364,7 @@ sub show_template {
             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']
                         )
                     )
diff --git a/Open-ILS/web/opac/common/js/config.js b/Open-ILS/web/opac/common/js/config.js
index 3011c4a..3c4c52d 100644
--- a/Open-ILS/web/opac/common/js/config.js
+++ b/Open-ILS/web/opac/common/js/config.js
@@ -340,8 +340,7 @@ var FETCH_ADV_ISBN_RIDS			= "open-ils.search:open-ils.search.biblio.isbn:1";
 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';

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/Application/Actor/Container.pm     |    1 +
 .../lib/OpenILS/WWW/TemplateBatchBibUpdate.pm      |    2 +-
 Open-ILS/web/opac/common/js/config.js              |    3 +--
 3 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list