[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 7f3951d310dbd06ef5b3efd2565ffa7777ad4c7f

Evergreen Git git at git.evergreen-ils.org
Wed Jun 22 10:41:50 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, rel_2_1 has been updated
       via  7f3951d310dbd06ef5b3efd2565ffa7777ad4c7f (commit)
      from  e6c4793e80e770002a59e9bea43607bc16b3b6dc (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 7f3951d310dbd06ef5b3efd2565ffa7777ad4c7f
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