[open-ils-commits] r14304 - in trunk/Open-ILS: src/perlmods/OpenILS/Application/Circ xul/staff_client/chrome/content/main xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Oct 7 17:32:23 EDT 2009
Author: phasefx
Date: 2009-10-07 17:32:17 -0400 (Wed, 07 Oct 2009)
New Revision: 14304
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
trunk/Open-ILS/xul/staff_client/server/patron/hold_details.js
Log:
authoritative hold notification retrieval
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2009-10-07 20:40:04 UTC (rev 14303)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2009-10-07 21:32:17 UTC (rev 14304)
@@ -900,6 +900,7 @@
__PACKAGE__->register_method (
method => 'fetch_hold_notify',
api_name => 'open-ils.circ.hold_notification.retrieve_by_hold',
+ authoritative => 1,
signature => q/
Returns a list of hold notification objects based on hold id.
@param authtoken The loggin session key
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js 2009-10-07 20:40:04 UTC (rev 14303)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js 2009-10-07 21:32:17 UTC (rev 14304)
@@ -94,6 +94,7 @@
'FM_ACTSC_RETRIEVE_VIA_AOU' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.stat_cat.actor.retrieve.all', 'secure' : false },
'FM_AHN_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold_notification.create' },
'FM_AHN_RETRIEVE_VIA_AHR' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold_notification.retrieve_by_hold' },
+ 'FM_AHN_RETRIEVE_VIA_AHR.authoritative' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold_notification.retrieve_by_hold.authoritative' },
'FM_AHR_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.holds.retrieve_by_id' },
'FM_AHR_BLOB_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold.details.retrieve' },
'FM_AHR_BLOB_RETRIEVE.authoritative' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold.details.retrieve.authoritative' },
Modified: trunk/Open-ILS/xul/staff_client/server/patron/hold_details.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/hold_details.js 2009-10-07 20:40:04 UTC (rev 14303)
+++ trunk/Open-ILS/xul/staff_client/server/patron/hold_details.js 2009-10-07 21:32:17 UTC (rev 14304)
@@ -140,7 +140,7 @@
}
function retrieve_notifications() {
- g.notifications = g.network.simple_request('FM_AHN_RETRIEVE_VIA_AHR',[ ses(), g.ahr_id ]).reverse();
+ g.notifications = g.network.simple_request('FM_AHN_RETRIEVE_VIA_AHR.authoritative',[ ses(), g.ahr_id ]).reverse();
}
function retrieve_notes() {
More information about the open-ils-commits
mailing list