[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. c4db23ba323c7b9e18bba9a5f65cd37a2f4eaa7a
Evergreen Git
git at git.evergreen-ils.org
Tue Nov 8 13:06:26 EST 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 c4db23ba323c7b9e18bba9a5f65cd37a2f4eaa7a (commit)
via ebde03846cfa620ccbf857b7ea82cf68f005e771 (commit)
from 5a90f4d9b701dcdf48793eee93774814ca050c64 (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 c4db23ba323c7b9e18bba9a5f65cd37a2f4eaa7a
Merge: ebde038 5a90f4d
Author: Mike Rylander <mrylander at gmail.com>
Date: Tue Nov 8 13:06:12 2011 -0500
Merge branch 'rel_2_1' of git.evergreen-ils.org:Evergreen into rel_2_1
commit ebde03846cfa620ccbf857b7ea82cf68f005e771
Author: Mike Rylander <mrylander at gmail.com>
Date: Tue Nov 8 12:43:44 2011 -0500
Protect against slony replication lag, LP#621448
Make open-ils.circ.captured_holds.id_list.* API calls authoritative within
the staff client to avoid replication-lag related stale displays. Inspired
by James Fournie at SITKA.
Signed-off-by: Mike Rylander <mrylander at gmail.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
index 1f4732e..bcc0b50 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
@@ -1764,6 +1764,7 @@ __PACKAGE__->register_method(
method => 'fetch_captured_holds',
api_name => 'open-ils.circ.captured_holds.on_shelf.retrieve',
stream => 1,
+ authoritative => 1,
signature => q/
Returns a list of un-fulfilled holds (on the Holds Shelf) for a given title id
@param authtoken The login session key
@@ -1775,6 +1776,7 @@ __PACKAGE__->register_method(
method => 'fetch_captured_holds',
api_name => 'open-ils.circ.captured_holds.id_list.on_shelf.retrieve',
stream => 1,
+ authoritative => 1,
signature => q/
Returns list ids of un-fulfilled holds (on the Holds Shelf) for a given title id
@param authtoken The login session key
@@ -1786,6 +1788,7 @@ __PACKAGE__->register_method(
method => 'fetch_captured_holds',
api_name => 'open-ils.circ.captured_holds.id_list.expired_on_shelf.retrieve',
stream => 1,
+ authoritative => 1,
signature => q/
Returns list ids of shelf-expired un-fulfilled holds for a given title id
@param authtoken The login session key
diff --git a/Open-ILS/xul/staff_client/chrome/content/main/constants.js b/Open-ILS/xul/staff_client/chrome/content/main/constants.js
index b195d2a..a134bdd 100644
--- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js
+++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js
@@ -134,8 +134,8 @@ var api = {
'FM_AHR_ID_LIST_PULL_LIST' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold_pull_list.id_list.retrieve', 'secure' : false },
'HTML_HOLD_PULL_LIST' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold_pull_list.print' },
'FM_AHR_ONSHELF_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.captured_holds.on_shelf.retrieve' },
- 'FM_AHR_ID_LIST_ONSHELF_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.captured_holds.id_list.on_shelf.retrieve', 'secure' : false },
- 'FM_AHR_ID_LIST_EXPIRED_ONSHELF_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.captured_holds.id_list.expired_on_shelf.retrieve', 'secure' : false },
+ 'FM_AHR_ID_LIST_ONSHELF_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.captured_holds.id_list.on_shelf.retrieve.authoritative', 'secure' : false },
+ 'FM_AHR_ID_LIST_EXPIRED_ONSHELF_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.captured_holds.id_list.expired_on_shelf.retrieve.authoritative', 'secure' : false },
'FM_AHR_COUNT_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.hold_requests.count', 'cacheable' : true, 'ttl' : 60000 },
'FM_AHR_COUNT_RETRIEVE.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.hold_requests.count.authoritative', 'cacheable' : true, 'ttl' : 60000 },
'FM_AHR_CANCEL' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold.cancel' },
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/Application/Circ/Holds.pm | 3 +++
.../staff_client/chrome/content/main/constants.js | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list