[open-ils-commits] r8949 - in trunk/Open-ILS/xul/staff_client:
chrome/content/OpenILS chrome/content/main server/admin
server/cat server/circ server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Mar 9 23:22:04 EDT 2008
Author: phasefx
Date: 2008-03-09 22:49:04 -0400 (Sun, 09 Mar 2008)
New Revision: 8949
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
trunk/Open-ILS/xul/staff_client/server/admin/transit_list.js
trunk/Open-ILS/xul/staff_client/server/cat/bib_brief.xul
trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js
trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets.js
trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js
trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul
trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js
trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.js
trunk/Open-ILS/xul/staff_client/server/cat/util.js
trunk/Open-ILS/xul/staff_client/server/circ/checkout.js
trunk/Open-ILS/xul/staff_client/server/circ/circ_summary.xul
trunk/Open-ILS/xul/staff_client/server/circ/copy_details.xul
trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js
trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.js
trunk/Open-ILS/xul/staff_client/server/circ/util.js
trunk/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
trunk/Open-ILS/xul/staff_client/server/patron/bill_details.xul
trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul
trunk/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul
trunk/Open-ILS/xul/staff_client/server/patron/bills.js
trunk/Open-ILS/xul/staff_client/server/patron/display.js
trunk/Open-ILS/xul/staff_client/server/patron/hold_notices.xul
trunk/Open-ILS/xul/staff_client/server/patron/holds.js
trunk/Open-ILS/xul/staff_client/server/patron/info_group.xul
trunk/Open-ILS/xul/staff_client/server/patron/info_notes.xul
trunk/Open-ILS/xul/staff_client/server/patron/items.js
trunk/Open-ILS/xul/staff_client/server/patron/summary.js
trunk/Open-ILS/xul/staff_client/server/patron/util.js
Log:
Switch to .authoritative version of some methods
We're getting a 404 with these:
open-ils.search.callnumber.retrieve.authoritative
open-ils.search.asset.copy.fleshed.batch.retrieve.authoritative
open-ils.search.biblio.record.copy_count.staff.authoritative
open-ils.circ.copy_location.retrieve.authoritative
open-ils.circ.hold.details.retrieve.authoritative
open-ils.circ.holds.id_list.retrieve.authoritative
open-ils.circ.open_non_cataloged_circulation.user.authoritative
open-ils.actor.usergroup.members.retrieve.authoritative
open-ils.circ.money.billing.retrieve.all.authoritative
open-ils.circ.money.billable_xact_summary.retrieve.authoritative
open-ils.circ.money.payment.retrieve.all.authoritative
open-ils.search.biblio.record.mods_slim.retrieve.authoritative
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -172,7 +172,7 @@
if (obj.hash[key] && obj.hash[key][value]) return obj.hash[key][value];
switch(key) {
case 'acpl':
- found = obj.network.simple_request('FM_ACPL_RETRIEVE_VIA_ID',[ value ]);
+ found = obj.network.simple_request('FM_ACPL_RETRIEVE_VIA_ID.authoritative',[ value ]);
break;
default: return undefined; break;
}
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -46,21 +46,27 @@
'CHECKOUT_RENEW' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.renew' },
'CIRC_MODIFIER_LIST' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.circ_modifier.retrieve.all' },
'FM_ACN_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.callnumber.retrieve', 'secure' : false },
+ 'FM_ACN_RETRIEVE.authoritative' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.callnumber.retrieve.authoritative', 'secure' : false },
'FM_ACN_TREE_UPDATE' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.asset.volume.fleshed.batch.update' },
'FM_ACN_TREE_LIST_RETRIEVE_VIA_RECORD_ID_AND_ORG_IDS' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.asset.copy_tree.retrieve', 'secure' : false },
+ 'FM_ACN_TREE_LIST_RETRIEVE_VIA_RECORD_ID_AND_ORG_IDS.authoritative' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.asset.copy_tree.retrieve.authoritative', 'secure' : false },
'FM_ACN_TRANSFER' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.asset.volume.batch.transfer' },
'FM_ACN_FIND_OR_CREATE' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.call_number.find_or_create', 'secure' : false },
'FM_ACP_DETAILS' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.copy_details.retrieve' },
'FM_ACP_DETAILS_VIA_BARCODE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.copy_details.retrieve.barcode' },
+ 'FM_ACP_DETAILS_VIA_BARCODE.authoritative' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.copy_details.retrieve.barcode.authoritative' },
//'FM_ACP_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.asset.copy.fleshed.retrieve' },
'FM_ACP_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.asset.copy.fleshed2.retrieve', 'secure' : false },
//'FM_ACP_RETRIEVE_VIA_BARCODE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.asset.copy.find_by_barcode' },
'FM_ACP_RETRIEVE_VIA_BARCODE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.asset.copy.fleshed2.find_by_barcode', 'secure' : false },
'FM_ACP_FLESHED_BATCH_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.asset.copy.fleshed.batch.retrieve', 'secure' : false },
+ 'FM_ACP_FLESHED_BATCH_RETRIEVE.authoritative' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.asset.copy.fleshed.batch.retrieve.authoritative', 'secure' : false },
'FM_ACP_FLESHED_BATCH_UPDATE' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.asset.copy.fleshed.batch.update' },
'FM_ACP_COUNT' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.record.copy_count.staff', 'secure' : false },
+ 'FM_ACP_COUNT.authoritative' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.record.copy_count.staff.authoritative', 'secure' : false },
'FM_ACPL_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.copy_location.retrieve.all', 'secure' : false },
'FM_ACPL_RETRIEVE_VIA_ID' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.copy_location.retrieve', 'secure' : false },
+ 'FM_ACPL_RETRIEVE_VIA_ID.authoritative' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.copy_location.retrieve.authoritative', 'secure' : false },
'FM_ACPN_RETRIEVE_ALL' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.copy_note.retrieve.all', 'secure' : false },
'FM_ACPN_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.copy_note.create' },
'FM_ACPN_DELETE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.copy_note.delete', 'secure' : false },
@@ -70,8 +76,10 @@
'FM_AHN_RETRIEVE_VIA_AHR' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold_notification.retrieve_by_hold' },
'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' },
'FM_AHR_RETRIEVE_VIA_AU' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.holds.retrieve' },
'FM_AHR_ID_LIST_RETRIEVE_VIA_AU' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.holds.id_list.retrieve' },
+ 'FM_AHR_ID_LIST_RETRIEVE_VIA_AU.authoritative' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.holds.id_list.retrieve.authoritative' },
'FM_AHR_RETRIEVE_VIA_BRE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.open_holds.retrieve' },
'FM_AHR_RETRIEVE_ALL_VIA_BRE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.holds.retrieve_all_from_title' },
'FM_AHR_RETRIEVE_VIA_PICKUP_AOU' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.holds.retrieve_by_pickup_lib' },
@@ -81,6 +89,7 @@
'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_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' },
'FM_AHR_UPDATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold.update' },
'FM_AHR_RESET' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold.reset' },
@@ -88,12 +97,14 @@
'FM_AIHU_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.in_house_use.create' },
'FM_ANCC_RETRIEVE_VIA_ID' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.non_cataloged_circulation.retrieve' },
'FM_ANCC_RETRIEVE_VIA_USER' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.open_non_cataloged_circulation.user' },
+ 'FM_ANCC_RETRIEVE_VIA_USER.authoritative' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.open_non_cataloged_circulation.user.authoritative' },
'FM_ANCIHU_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.non_cat_in_house_use.create' },
'FM_AOA_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.org_unit.address.retrieve', 'secure' : false },
'FM_AOU_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.org_tree.retrieve', 'secure' : false },
'FM_AOU_DESCENDANTS_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.org_tree.descendants.retrieve', 'secure' : false },
'FM_AOU_RETRIEVE_RELATED_VIA_SESSION' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.org_unit.full_path.retrieve' },
'FM_AOU_IDS_RETRIEVE_VIA_RECORD_ID' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.actor.org_unit.retrieve_by_title', 'secure' : false },
+ 'FM_AOU_IDS_RETRIEVE_VIA_RECORD_ID.authoritative' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.actor.org_unit.retrieve_by_title.authoritative', 'secure' : false },
'FM_AOUT_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.org_types.retrieve', 'secure' : false },
'FM_ASC_BATCH_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.stat_cat.asset.retrieve.batch', 'secure' : false },
'FM_ASC_RETRIEVE_VIA_AOU' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.stat_cat.asset.retrieve.all', 'secure' : false },
@@ -106,31 +117,39 @@
'FM_ATC_RETRIEVE_VIA_AOU' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.transit.retrieve_by_lib', 'secure' : false },
'FM_AU_IDS_RETRIEVE_VIA_HASH' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.patron.search.advanced' },
'FM_AU_LIST_RETRIEVE_VIA_GROUP' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.usergroup.members.retrieve' },
+ 'FM_AU_LIST_RETRIEVE_VIA_GROUP.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.usergroup.members.retrieve.authoritative' },
'FM_AU_RETRIEVE_VIA_SESSION' : { 'app' : 'open-ils.auth', 'method' : 'open-ils.auth.session.retrieve' },
'FM_AU_RETRIEVE_VIA_BARCODE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.fleshed.retrieve_by_barcode', 'cacheable' : true, 'ttl' : 60000 },
+ 'FM_AU_RETRIEVE_VIA_BARCODE.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.fleshed.retrieve_by_barcode.authoritative', 'cacheable' : true, 'ttl' : 60000 },
'FM_AU_RETRIEVE_VIA_ID' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.retrieve', 'cacheable' : true, 'ttl' : 60000 },
'FM_AU_FLESHED_RETRIEVE_VIA_ID' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.fleshed.retrieve', 'cacheable' : true, 'ttl' : 60000 },
'FM_AU_NEW_USERGROUP' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.usergroup.new' },
'FM_AU_UPDATE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.patron.update' },
'FM_AUN_RETRIEVE_ALL' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.note.retrieve.all', 'cacheable' : false, 'ttl' : 60000 },
+ 'FM_AUN_RETRIEVE_ALL.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.note.retrieve.all.authoritative', 'cacheable' : false, 'ttl' : 60000 },
'FM_AUN_CREATE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.note.create' },
'FM_AUN_DELETE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.note.delete' },
'FM_AUS_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.patron.settings.retrieve' },
'FM_AUS_UPDATE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.patron.settings.update' },
'FM_BRE_RETRIEVE_VIA_ID' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.biblio.record.metadata.retrieve', 'secure' : false },
+ 'FM_BRE_RETRIEVE_VIA_ID.authoritative' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.biblio.record.metadata.retrieve.authoritative', 'secure' : false },
'FM_BRE_ID_SEARCH_VIA_BARCODE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.find_by_barcode', 'secure' : false },
'FM_BRE_ID_SEARCH_VIA_TCN' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.tcn', 'secure' : false },
'FM_BRE_DELETE' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.biblio.record_entry.delete', 'secure' : false },
'FM_BRN_FROM_MARCXML' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.z3950.marcxml_to_brn', 'secure' : false },
'FM_CCS_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.config.copy_status.retrieve.all', 'secure' : false },
'FM_CIRC_DETAILS' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.fleshed.retrieve' },
+ 'FM_CIRC_DETAILS.authoritative' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.fleshed.retrieve.authoritative' },
'FM_CIRC_RETRIEVE_VIA_ID' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.retrieve' },
/*'FM_CIRC_RETRIEVE_VIA_USER' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.actor.user.checked_out.slim' },*/
'FM_CIRC_IN_WITH_FINES_VIA_USER' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.checked_in_with_fines' },
+ 'FM_CIRC_IN_WITH_FINES_VIA_USER.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.checked_in_with_fines.authoritative' },
'FM_CIRC_RETRIEVE_VIA_USER' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.checked_out' },
+ 'FM_CIRC_RETRIEVE_VIA_USER.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.checked_out.authoritative' },
'FM_CIRC_RETRIEVE_VIA_COPY' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.copy_checkout_history.retrieve' },
/*'FM_CIRC_COUNT_RETRIEVE_VIA_USER' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.checked_out.count' },*/
'FM_CIRC_COUNT_RETRIEVE_VIA_USER' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.checked_out.count', 'cacheable' : true, 'ttl' : 60000 },
+ 'FM_CIRC_COUNT_RETRIEVE_VIA_USER.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.checked_out.count.authoritative', 'cacheable' : true, 'ttl' : 60000 },
'FM_CIRC_COUNT_RETRIEVE_VIA_COPY' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.circulation.count' },
'FM_CIRC_EDIT_DUE_DATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.circulation.due_date.update' },
'FM_CIT_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.ident_types.retrieve', 'secure' : false },
@@ -141,15 +160,21 @@
'FM_CST_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.standings.retrieve', 'secure' : false },
'FM_MB_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.billing.create' },
'FM_MB_RETRIEVE_VIA_MBTS_ID' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.billing.retrieve.all' },
+ 'FM_MB_RETRIEVE_VIA_MBTS_ID.authoritative' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.billing.retrieve.all.authoritative' },
'FM_MB_VOID' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.billing.void' },
'FM_MBTS_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.billable_xact_summary.retrieve' },
+ 'FM_MBTS_RETRIEVE.authoritative' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.billable_xact_summary.retrieve.authoritative' },
'FM_MBTS_IDS_RETRIEVE_ALL' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.history' },
'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_CHARGE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.history.have_charge' },
'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_BALANCE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.history.have_balance' },
+ 'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_BALANCE.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.history.have_balance.authoritative' },
'FM_MBTS_IDS_RETRIEVE_ALL_STILL_OPEN' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.history.still_open' },
'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_BILL' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.history.have_bill' },
+ 'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_BILL.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.history.have_bill.authoritative' },
'FM_MBTS_IDS_RETRIEVE_FOR_HISTORY' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.history.have_bill' },
+ 'FM_MBTS_IDS_RETRIEVE_FOR_HISTORY.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.history.have_bill.authoritative' },
'FM_MP_RETRIEVE_VIA_MBTS_ID' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.payment.retrieve.all' },
+ 'FM_MP_RETRIEVE_VIA_MBTS_ID.authoritative' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.payment.retrieve.all.authoritative' },
'FM_MG_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.grocery.create' },
'FM_MG_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.grocery.retrieve' },
'FM_MOBTS_HAVING_BALANCE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.have_balance' },
@@ -159,6 +184,7 @@
'FM_MOBTS_TOTAL_OPEN' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.total' },
'FM_MOBTS_COUNT_OPEN' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.count' },
'FM_MOUS_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.fines.summary', 'cacheable' : true, 'ttl' : 60000 },
+ 'FM_MOUS_RETRIEVE.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.fines.summary.authoritative', 'cacheable' : true, 'ttl' : 60000 },
'FM_PGT_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.groups.tree.retrieve', 'secure' : false },
'MARC_HTML_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.record.html', 'secure' : false },
'FM_BLOB_RETRIEVE_VIA_Z3950_SEARCH' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.z3950.search_class' },
@@ -170,6 +196,7 @@
'MARK_ITEM_CLAIM_RETURNED' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.circulation.set_claims_returned' },
'MODS_SLIM_METARECORD_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.metarecord.mods_slim.retrieve', 'secure' : false },
'MODS_SLIM_RECORD_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.record.mods_slim.retrieve', 'secure' : false },
+ 'MODS_SLIM_RECORD_RETRIEVE.authoritative' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.record.mods_slim.retrieve.authoritative', 'secure' : false },
'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.mods_from_copy', 'secure' : false },
'PERM_CHECK' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.perm.check' },
'PERM_MULTI_ORG_CHECK' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.perm.check.multi_org' },
@@ -182,6 +209,7 @@
'MARC_XML_TEMPLATE_LIST' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.marc_template.types.retrieve', 'secure' : false },
'MERGE_RECORDS' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.biblio.records.merge' },
'PATRON_BARCODE_EXISTS' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.barcode.exists' },
+ 'PATRON_BARCODE_EXISTS.authoritative' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.barcode.exists.authoritative' },
'RECALCULATE_STANDING_PENALTIES' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.penalties.update' },
'USER_ORG_UNIT_OPT_IN_FEATURE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.org_unit_opt_in.enabled' },
'USER_ORG_UNIT_OPT_IN_CHECK' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.org_unit_opt_in.check' },
Modified: trunk/Open-ILS/xul/staff_client/server/admin/transit_list.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/admin/transit_list.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/admin/transit_list.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -324,7 +324,7 @@
row.my.acp = r_acp;
obj.network.simple_request(
- 'FM_ACN_RETRIEVE',
+ 'FM_ACN_RETRIEVE.authoritative',
[ r_acp.call_number() ],
function(req2) {
try {
@@ -334,7 +334,7 @@
if (row.my.acn.record() > 0) {
obj.network.simple_request(
- 'MODS_SLIM_RECORD_RETRIEVE',
+ 'MODS_SLIM_RECORD_RETRIEVE.authoritative',
[ r_acn.record() ],
function(req3) {
try {
Modified: trunk/Open-ILS/xul/staff_client/server/cat/bib_brief.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/bib_brief.xul 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/cat/bib_brief.xul 2008-03-10 02:49:04 UTC (rev 8949)
@@ -66,9 +66,8 @@
data.last_record = docid; data.stash('last_record');
- g.network.request(
- api.MODS_SLIM_RECORD_RETRIEVE.app,
- api.MODS_SLIM_RECORD_RETRIEVE.method,
+ g.network.simple_request(
+ 'MODS_SLIM_RECORD_RETRIEVE.authoritative',
[ docid ],
function (req) {
var mods = req.getResultObject();
@@ -97,9 +96,8 @@
}
}
- g.network.request(
- api.FM_BRE_RETRIEVE_VIA_ID.app,
- api.FM_BRE_RETRIEVE_VIA_ID.method,
+ g.network.simple_request(
+ 'FM_BRE_RETRIEVE_VIA_ID.authoritative',
[ ses(), [ docid ] ],
function (req) {
try {
Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -800,7 +800,7 @@
}
);
- var volume = obj.network.simple_request('FM_ACN_RETRIEVE',[ obj.data.marked_volume ]);
+ var volume = obj.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ obj.data.marked_volume ]);
JSAN.use('cat.util'); cat.util.transfer_copies( {
'copy_ids' : list,
@@ -821,7 +821,7 @@
obj.list_init(params);
- obj.org_ids = obj.network.simple_request('FM_AOU_IDS_RETRIEVE_VIA_RECORD_ID',[ obj.docid ]);
+ obj.org_ids = obj.network.simple_request('FM_AOU_IDS_RETRIEVE_VIA_RECORD_ID.authoritative',[ obj.docid ]);
if (typeof obj.org_ids.ilsevent != 'undefined') throw(obj.org_ids);
JSAN.use('util.functional');
obj.org_ids = util.functional.map_list( obj.org_ids, function (o) { return Number(o); });
@@ -913,7 +913,7 @@
'show_consortial_count' : function() {
var obj = this;
try {
- obj.network.simple_request('FM_ACP_COUNT',[ obj.data.tree.aou.id(), obj.docid ],function(req){
+ obj.network.simple_request('FM_ACP_COUNT.authoritative',[ obj.data.tree.aou.id(), obj.docid ],function(req){
try {
var robj = req.getResultObject();
var x = document.getElementById('consortial_total');
@@ -1237,7 +1237,7 @@
} else {
var v_count = 0; var c_count = 0;
acn_tree_list = obj.network.simple_request(
- 'FM_ACN_TREE_LIST_RETRIEVE_VIA_RECORD_ID_AND_ORG_IDS',
+ 'FM_ACN_TREE_LIST_RETRIEVE_VIA_RECORD_ID_AND_ORG_IDS.authoritative',
[ ses(), obj.docid, [ org.id() ] ]
);
for (var i = 0; i < acn_tree_list.length; i++) {
@@ -1620,7 +1620,7 @@
obj.map_tree = {};
obj.map_acn = {};
obj.map_acp = {};
- obj.org_ids = obj.network.simple_request('FM_AOU_IDS_RETRIEVE_VIA_RECORD_ID',[ obj.docid ]);
+ obj.org_ids = obj.network.simple_request('FM_AOU_IDS_RETRIEVE_VIA_RECORD_ID.authoritative',[ obj.docid ]);
if (typeof obj.org_ids.ilsevent != 'undefined') throw(obj.org_ids);
JSAN.use('util.functional');
obj.org_ids = util.functional.map_list( obj.org_ids, function (o) { return Number(o); });
Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_buckets.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -481,7 +481,7 @@
}
)
- var volume = obj.network.simple_request('FM_ACN_RETRIEVE',[ obj.data.marked_volume ]);
+ var volume = obj.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ obj.data.marked_volume ]);
var msg = 'Transfer the items in bucket "';
msg += obj.controller.view.bucket_menulist.getAttribute('label') + '" ';
Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -29,7 +29,7 @@
if (!copy_ids) copy_ids = [];
if (copy_ids.length > 0) g.copies = g.network.simple_request(
- 'FM_ACP_FLESHED_BATCH_RETRIEVE',
+ 'FM_ACP_FLESHED_BATCH_RETRIEVE.authoritative',
[ copy_ids ]
);
@@ -74,7 +74,7 @@
lib = o.circ_lib(); // base perms on circ_lib instead of owning_lib if pre-cat
} else {
if (! g.map_acn[ cn_id ]) {
- var req = g.network.simple_request('FM_ACN_RETRIEVE',[ cn_id ]);
+ var req = g.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ cn_id ]);
if (typeof req.ilsevent == 'undefined') {
g.map_acn[ cn_id ] = req;
lib = g.map_acn[ cn_id ].owning_lib();
@@ -432,7 +432,7 @@
var copy = g.copies[i];
try {
if (!g.map_acn[copy.call_number()]) {
- var volume = g.network.simple_request('FM_ACN_RETRIEVE',[ copy.call_number() ]);
+ var volume = g.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ copy.call_number() ]);
if (typeof volume.ilsevent != 'undefined') {
g.error.standard_unexpected_error_alert('Error retrieving Volume information for copy ' + copy.barcode() + ". The owning library for this copy won't be changed.",volume);
continue;
@@ -559,7 +559,7 @@
var cn_id = typeof callnumber == 'object' ? callnumber.id() : callnumber;
if (cn_id > 0) {
if (! g.map_acn[ cn_id ]) {
- var req = g.network.simple_request('FM_ACN_RETRIEVE',[ cn_id ]);
+ var req = g.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ cn_id ]);
if (typeof req.ilsevent == 'undefined') {
g.map_acn[ cn_id ] = req;
} else {
@@ -659,9 +659,8 @@
'Owning Lib : Call Number' : function(label,value) {
JSAN.use('util.widgets');
if (value>0) { /* an existing call number */
- g.network.request(
- api.FM_ACN_RETRIEVE.app,
- api.FM_ACN_RETRIEVE.method,
+ g.network.simple_request(
+ 'FM_ACN_RETRIEVE.authoritative',
[ value ],
function(req) {
var cn = '??? id = ' + value;
@@ -1395,7 +1394,7 @@
var cn_id = g.copies[i].call_number();
if (cn_id > 0) {
if (! g.map_acn[ cn_id ]) {
- var req = g.network.simple_request('FM_ACN_RETRIEVE',[ cn_id ]);
+ var req = g.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ cn_id ]);
if (typeof req.ilsevent == 'undefined') {
g.map_acn[ cn_id ] = req;
} else {
Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_summary.xul 2008-03-10 02:49:04 UTC (rev 8949)
@@ -126,7 +126,7 @@
acn_callback( { 'getResultObject' : function() { return callnumber; } } );
} else {
g.network.simple_request(
- 'FM_ACN_RETRIEVE',
+ 'FM_ACN_RETRIEVE.authoritative',
[ copy.call_number() ], acn_callback
);
}
Modified: trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/cat/record_buckets.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -746,7 +746,7 @@
'flesh_item_for_list' : function(docid,bucket_item_id) {
var obj = this;
try {
- var record = obj.network.simple_request( 'MODS_SLIM_RECORD_RETRIEVE', [ docid ]);
+ var record = obj.network.simple_request( 'MODS_SLIM_RECORD_RETRIEVE.authoritative', [ docid ]);
if (record == null || typeof(record.ilsevent) != 'undefined') {
throw(record);
} else {
Modified: trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/cat/spine_labels.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -34,9 +34,9 @@
var copy = g.network.simple_request( 'FM_ACP_RETRIEVE_VIA_BARCODE', [ g.barcodes[i] ] );
if (typeof copy.ilsevent != 'undefined') throw(copy);
if (!g.volumes[ copy.call_number() ]) {
- var volume = g.network.simple_request( 'FM_ACN_RETRIEVE', [ copy.call_number() ] );
+ var volume = g.network.simple_request( 'FM_ACN_RETRIEVE.authoritative', [ copy.call_number() ] );
if (typeof volume.ilsevent != 'undefined') throw(volume);
- var record = g.network.simple_request('MODS_SLIM_RECORD_RETRIEVE', [ volume.record() ]);
+ var record = g.network.simple_request('MODS_SLIM_RECORD_RETRIEVE.authoritative', [ volume.record() ]);
volume.record( record );
g.volumes[ volume.id() ] = volume;
}
Modified: trunk/Open-ILS/xul/staff_client/server/cat/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/util.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/cat/util.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -113,7 +113,7 @@
JSAN.use('util.functional');
- var copies = network.simple_request('FM_ACP_FLESHED_BATCH_RETRIEVE', [ params.copy_ids ]);
+ var copies = network.simple_request('FM_ACP_FLESHED_BATCH_RETRIEVE.authoritative', [ params.copy_ids ]);
for (var i = 0; i < copies.length; i++) {
copies[i].call_number( data.marked_volume );
@@ -259,7 +259,7 @@
JSAN.use('util.error'); error = new util.error();
JSAN.use('util.functional');
JSAN.use('util.network'); var network = new util.network();
- var copies = network.simple_request('FM_ACP_FLESHED_BATCH_RETRIEVE', [ copy_ids ]);
+ var copies = network.simple_request('FM_ACP_FLESHED_BATCH_RETRIEVE.authoritative', [ copy_ids ]);
if (typeof copies.ilsevent != 'undefined') throw(copies);
var magic_status = false;
for (var i = 0; i < copies.length; i++) {
@@ -301,7 +301,7 @@
JSAN.use('util.error'); error = new util.error();
JSAN.use('util.functional');
JSAN.use('util.network'); var network = new util.network();
- var copies = network.simple_request('FM_ACP_FLESHED_BATCH_RETRIEVE', [ copy_ids ]);
+ var copies = network.simple_request('FM_ACP_FLESHED_BATCH_RETRIEVE.authoritative', [ copy_ids ]);
if (typeof copies.ilsevent != 'undefined') throw(copies);
var magic_status = false;
for (var i = 0; i < copies.length; i++) {
Modified: trunk/Open-ILS/xul/staff_client/server/circ/checkout.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/checkout.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/circ/checkout.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -256,7 +256,7 @@
this.check_disable();
var robj = obj.network.simple_request(
- 'FM_CIRC_COUNT_RETRIEVE_VIA_USER',
+ 'FM_CIRC_COUNT_RETRIEVE_VIA_USER.authoritative',
[ ses(), obj.patron_id ]
);
obj.items_out_count = (robj.out + robj.overdue + robj.claims_returned + robj.long_overdue );
Modified: trunk/Open-ILS/xul/staff_client/server/circ/circ_summary.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/circ_summary.xul 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/circ/circ_summary.xul 2008-03-10 02:49:04 UTC (rev 8949)
@@ -59,7 +59,7 @@
g.copy = g.network.simple_request('FM_ACP_RETRIEVE',[ g.copy_id ]);
if (typeof g.copy.ilsevent != 'undefined') throw(g.copy);
- g.callnumber = g.network.simple_request('FM_ACN_RETRIEVE',[ g.copy.call_number() ]);
+ g.callnumber = g.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ g.copy.call_number() ]);
if (typeof g.callnumber.ilsevent != 'undefined') throw(g.callnumber);
$('top').setAttribute('src',urls.XUL_BIB_BRIEF);// + '?docid=' + g.callnumber.record());
Modified: trunk/Open-ILS/xul/staff_client/server/circ/copy_details.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/copy_details.xul 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/circ/copy_details.xul 2008-03-10 02:49:04 UTC (rev 8949)
@@ -81,7 +81,7 @@
$('circ_caption').setAttribute('tooltiptext', tt_msg);
}
- //g.callnumber = g.network.simple_request('FM_ACN_RETRIEVE',[ g.copy.call_number() ]);
+ //g.callnumber = g.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ g.copy.call_number() ]);
//if (typeof g.callnumber.ilsevent != 'undefined') throw(g.callnumber);
$('top').setAttribute('src',urls.XUL_BIB_BRIEF); // + '?docid=' + g.callnumber.record());
Modified: trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -378,7 +378,7 @@
continue; /* ignore magic pre-cat volume */
}
if (! map_acn[volume_id]) {
- map_acn[ volume_id ] = obj.network.simple_request('FM_ACN_RETRIEVE',[ volume_id ]);
+ map_acn[ volume_id ] = obj.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ volume_id ]);
}
var record_id = map_acn[ volume_id ].record();
var ou_id = map_acn[ volume_id ].owning_lib();
@@ -507,7 +507,7 @@
var list = util.functional.map_list( obj.selection_list, function(o) { return o.copy_id; } );
- var volume = obj.network.simple_request('FM_ACN_RETRIEVE',[ obj.data.marked_volume ]);
+ var volume = obj.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ obj.data.marked_volume ]);
JSAN.use('cat.util'); cat.util.transfer_copies( {
'copy_ids' : list,
@@ -538,7 +538,7 @@
continue; /* ignore magic pre-cat volume */
}
if (! map_acn[volume_id]) {
- map_acn[ volume_id ] = obj.network.simple_request('FM_ACN_RETRIEVE',[ volume_id ]);
+ map_acn[ volume_id ] = obj.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ volume_id ]);
}
var record_id = map_acn[ volume_id ].record();
var ou_id = map_acn[ volume_id ].owning_lib();
@@ -609,7 +609,7 @@
continue; /* ignore magic pre-cat volume */
}
if (! map_acn[volume_id]) {
- map_acn[ volume_id ] = obj.network.simple_request('FM_ACN_RETRIEVE',[ volume_id ]);
+ map_acn[ volume_id ] = obj.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ volume_id ]);
map_acn[ volume_id ].copies( [] );
}
var record_id = map_acn[ volume_id ].record();
@@ -735,7 +735,7 @@
continue; /* ignore magic pre-cat volume */
}
if (! map_acn[volume_id]) {
- map_acn[ volume_id ] = obj.network.simple_request('FM_ACN_RETRIEVE',[ volume_id ]);
+ map_acn[ volume_id ] = obj.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ volume_id ]);
}
}
@@ -825,7 +825,7 @@
var list = util.functional.map_list( obj.selection_list, function(o) { return o.acn_id; } );
if (list.length == 1) {
- var v = obj.network.simple_request('FM_ACN_RETRIEVE',[list[0]]);
+ var v = obj.network.simple_request('FM_ACN_RETRIEVE.authoritative',[list[0]]);
var owning_lib = v.owning_lib();
if (typeof owning_lib == 'object') {
owning_lib = owning_lib.id();
@@ -872,7 +872,7 @@
continue; /* ignore magic pre-cat volume */
}
if (! map_acn[volume_id]) {
- map_acn[ volume_id ] = obj.network.simple_request('FM_ACN_RETRIEVE',[ volume_id ]);
+ map_acn[ volume_id ] = obj.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ volume_id ]);
}
}
@@ -1096,7 +1096,7 @@
obj.error.standard_unexpected_error_alert('barcode = ' + barcode,E);
}
}
- var result = obj.network.simple_request('FM_ACP_DETAILS_VIA_BARCODE', [ ses(), barcode ]);
+ var result = obj.network.simple_request('FM_ACP_DETAILS_VIA_BARCODE.authoritative', [ ses(), barcode ]);
handle_req({'getResultObject':function(){return result;}}); // used to be async
obj.controller.view.copy_status_barcode_entry_textbox.value = '';
obj.controller.view.copy_status_barcode_entry_textbox.focus();
Modified: trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/circ/in_house_use.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -279,7 +279,7 @@
return;
}
- var mods = obj.network.simple_request('MODS_SLIM_RECORD_RETRIEVE_VIA_COPY',[ copy.id() ]);
+ var mods = obj.network.simple_request('MODS_SLIM_RECORD_RETRIEVE.authoritative_VIA_COPY',[ copy.id() ]);
var result = obj.network.simple_request('FM_AIHU_CREATE',
[ ses(), { 'copyid' : copy.id(), 'location' : obj.data.list.au[0].ws_ou(), 'count' : multiplier } ]
);
Modified: trunk/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/util.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/circ/util.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -517,7 +517,7 @@
return document.getElementById('circStrings').getString('staff.circ.utils.not_cataloged');
} else {
if (!my.acn) {
- var x = network.simple_request("FM_ACN_RETRIEVE",[ my.acp.call_number() ]);
+ var x = network.simple_request("FM_ACN_RETRIEVE.authoritative",[ my.acp.call_number() ]);
if (x.ilsevent) {
return document.getElementById('circStrings').getString('staff.circ.utils.not_cataloged');
} else {
@@ -1946,7 +1946,7 @@
}
if (check.circ) {
- network.simple_request('FM_MBTS_RETRIEVE',[ses(),check.circ.id()], function(req) {
+ network.simple_request('FM_MBTS_RETRIEVE.authoritative',[ses(),check.circ.id()], function(req) {
JSAN.use('util.money');
var bill = req.getResultObject();
if (Number(bill.balance_owed()) == 0) { return; }
Modified: trunk/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul 2008-03-10 02:49:04 UTC (rev 8949)
@@ -93,7 +93,7 @@
tb.disabled = true;
document.getElementById('progress').setAttribute('hidden','false');
- net.simple_request('PATRON_BARCODE_EXISTS',[ ses(), barcode ],
+ net.simple_request('PATRON_BARCODE_EXISTS.authoritative',[ ses(), barcode ],
function(req) {
document.getElementById('progress').setAttribute('hidden','true');
tb.disabled = false; tb.select(); tb.focus(); ;
Modified: trunk/Open-ILS/xul/staff_client/server/patron/bill_details.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bill_details.xul 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bill_details.xul 2008-03-10 02:49:04 UTC (rev 8949)
@@ -56,7 +56,7 @@
}
function retrieve_mbts() {
- g.network.simple_request('FM_MBTS_RETRIEVE',[ses(),g.mbts_id],
+ g.network.simple_request('FM_MBTS_RETRIEVE.authoritative',[ses(),g.mbts_id],
function(req) {
try {
g.mbts = req.getResultObject();
@@ -120,7 +120,7 @@
$('copy_summary').hidden=false;
g.network.simple_request(
- 'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY',
+ 'MODS_SLIM_RECORD_RETRIEVE.authoritative_VIA_COPY',
[ r_circ.target_copy() ],
function (rreq) {
var r_mvr = rreq.getResultObject();
@@ -180,7 +180,7 @@
}
function retrieve_mb() {
- g.mb_list = g.network.simple_request( 'FM_MB_RETRIEVE_VIA_MBTS_ID', [ ses(), g.mbts_id ] );
+ g.mb_list = g.network.simple_request( 'FM_MB_RETRIEVE_VIA_MBTS_ID.authoritative', [ ses(), g.mbts_id ] );
//g.error.sdump('D_DEBUG',g.error.pretty_print( js2JSON(g.mb_list) ));
var mb_funcs = [];
@@ -200,7 +200,7 @@
}
function retrieve_mp() {
- var mp_list = g.network.simple_request( 'FM_MP_RETRIEVE_VIA_MBTS_ID', [ ses(), g.mbts_id ]);
+ var mp_list = g.network.simple_request( 'FM_MP_RETRIEVE_VIA_MBTS_ID.authoritative', [ ses(), g.mbts_id ]);
//g.error.sdump('D_DEBUG',g.error.pretty_print( js2JSON(mp_list) ));
var mp_funcs = [];
Modified: trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul 2008-03-10 02:49:04 UTC (rev 8949)
@@ -57,8 +57,8 @@
function retrieve_mbts_for_list() {
//var method = 'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_CHARGE';
- var method = 'FM_MBTS_IDS_RETRIEVE_FOR_HISTORY';
- if (xul_param('current')) method = 'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_BALANCE';
+ var method = 'FM_MBTS_IDS_RETRIEVE_FOR_HISTORY.authoritative';
+ if (xul_param('current')) method = 'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_BALANCE.authoritative';
g.mbts_ids = g.network.simple_request(method,[ses(),g.patron_id]);
if (g.mbts_ids.ilsevent) {
switch(Number(g.mbts_ids.ilsevent)) {
@@ -108,7 +108,7 @@
}
function retrieve_specific_mbts() {
- if (g.mbts_id) g.network.simple_request('FM_MBTS_RETRIEVE',[ses(),g.mbts_id],
+ if (g.mbts_id) g.network.simple_request('FM_MBTS_RETRIEVE.authoritative',[ses(),g.mbts_id],
function(req) {
try {
g.mbts = req.getResultObject();
@@ -164,7 +164,7 @@
$('copy_summary').hidden=false;
g.network.simple_request(
- 'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY',
+ 'MODS_SLIM_RECORD_RETRIEVE.authoritative_VIA_COPY',
[ r_circ.target_copy() ],
function (rreq) {
var r_mvr = rreq.getResultObject();
@@ -217,7 +217,7 @@
if (id) {
if (typeof row.my == 'undefined') row.my = {};
if ( typeof row.my.mbts == 'undefined' ) {
- var mbts_obj = g.network.simple_request('FM_MBTS_RETRIEVE',[ses(),id]);
+ var mbts_obj = g.network.simple_request('FM_MBTS_RETRIEVE.authoritative',[ses(),id]);
row.my.mbts = mbts_obj;
}
}
Modified: trunk/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul 2008-03-10 02:49:04 UTC (rev 8949)
@@ -38,7 +38,7 @@
function $(id) { return document.getElementById(id); }
function retrieve_mbts() {
- g.network.simple_request('FM_MBTS_RETRIEVE',[ses(),g.mbts_id],
+ g.network.simple_request('FM_MBTS_RETRIEVE.authoritative',[ses(),g.mbts_id],
function(req) {
try {
g.mbts = req.getResultObject();
@@ -73,7 +73,7 @@
$('due').value = r_circ.due_date() ? r_circ.due_date().toString().substr(0,10) : '';
g.network.simple_request(
- 'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY',
+ 'MODS_SLIM_RECORD_RETRIEVE.authoritative_VIA_COPY',
[ r_circ.target_copy() ],
function (rreq) {
var r_mvr = rreq.getResultObject();
Modified: trunk/Open-ILS/xul/staff_client/server/patron/bills.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bills.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bills.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -21,7 +21,7 @@
'current_payments' : [],
- 'SHOW_ME_THE_BILLS' : 'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_BALANCE',
+ 'SHOW_ME_THE_BILLS' : 'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_BALANCE.authoritative',
//'SHOW_ME_THE_BILLS' : 'FM_MBTS_IDS_RETRIEVE_ALL_STILL_OPEN',
//'SHOW_ME_THE_BILLS' : 'FM_MOBTS_HAVING_BALANCE',
/*'SHOW_ME_THE_BILLS' : 'FM_MOBTS_OPEN',*/
@@ -45,7 +45,7 @@
} else if (instanceOf(obj.bills[i],mbts)) {
obj.bills[i] = { 'transaction' : obj.bills[i] }
} else {
- var robj = obj.network.simple_request('FM_MBTS_RETRIEVE',[ses(),obj.bills[i]]);
+ var robj = obj.network.simple_request('FM_MBTS_RETRIEVE.authoritative',[ses(),obj.bills[i]]);
//alert('refresh robj = ' + js2JSON(robj));
obj.bills[i] = { 'transaction' : robj }
}
@@ -672,7 +672,7 @@
} else if (instanceOf(obj.bills[i],mbts)) {
obj.bills[i] = { 'transaction' : obj.bills[i] }
} else {
- var robj = obj.network.simple_request('FM_MBTS_RETRIEVE',[ses(),obj.bills[i]]);
+ var robj = obj.network.simple_request('FM_MBTS_RETRIEVE.authoritative',[ses(),obj.bills[i]]);
//alert('robj = ' + js2JSON(robj));
obj.bills[i] = { 'transaction' : robj }
}
@@ -886,7 +886,7 @@
}
}
obj.network.simple_request(
- 'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY',
+ 'MODS_SLIM_RECORD_RETRIEVE.authoritative_VIA_COPY',
[ r_circ.target_copy() ],
function (rreq) {
var r_mvr = rreq.getResultObject();
@@ -1044,7 +1044,7 @@
var obj = this;
JSAN.use('util.functional');
- var mb_list = obj.network.simple_request( 'FM_MB_RETRIEVE_VIA_MBTS_ID', [ ses(), mobts_id ] );
+ var mb_list = obj.network.simple_request( 'FM_MB_RETRIEVE_VIA_MBTS_ID.authoritative', [ ses(), mobts_id ] );
if (typeof mb_list.ilsevent != 'undefined') throw(mb_list);
mb_list = util.functional.filter_list( mb_list, function(o) { return ! get_bool( o.voided() ) });
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -392,7 +392,7 @@
}
obj.network.simple_request(
- 'FM_AHR_COUNT_RETRIEVE',
+ 'FM_AHR_COUNT_RETRIEVE.authoritative',
[ ses(), patron.id() ],
function(req) {
try {
Modified: trunk/Open-ILS/xul/staff_client/server/patron/hold_notices.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/hold_notices.xul 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/hold_notices.xul 2008-03-10 02:49:04 UTC (rev 8949)
@@ -112,9 +112,8 @@
);
break;
default:
- row.my.mvr = g.network.request(
- api.MODS_SLIM_RECORD_RETRIEVE.app,
- api.MODS_SLIM_RECORD_RETRIEVE.method,
+ row.my.mvr = g.network.simple_request(
+ 'MODS_SLIM_RECORD_RETRIEVE.authoritative',
[ row.my.ahr.target() ]
);
if (row.my.ahr.current_copy()) {
Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -59,7 +59,7 @@
'retrieve_row' : function(params) {
var row = params.row;
try {
- obj.network.simple_request('FM_AHR_BLOB_RETRIEVE', [ ses(), row.my.hold_id ],
+ obj.network.simple_request('FM_AHR_BLOB_RETRIEVE.authoritative', [ ses(), row.my.hold_id ],
function(blob_req) {
try {
var blob = blob_req.getResultObject();
@@ -648,7 +648,7 @@
opac_url = xulG.url_prefix( urls.opac_rdetail ) + '?r=' + htarget;
break;
case 'V' :
- var my_acn = obj.network.simple_request( 'FM_ACN_RETRIEVE', [ htarget ]);
+ var my_acn = obj.network.simple_request( 'FM_ACN_RETRIEVE.authoritative', [ htarget ]);
opac_url = xulG.url_prefix( urls.opac_rdetail) + '?r=' + my_acn.record();
break;
case 'C' :
@@ -657,7 +657,7 @@
if (typeof my_acp.call_number() == 'object') {
my_acn = my.acp.call_number();
} else {
- my_acn = obj.network.simple_request( 'FM_ACN_RETRIEVE',
+ my_acn = obj.network.simple_request( 'FM_ACN_RETRIEVE.authoritative',
[ my_acp.call_number() ]);
}
opac_url = xulG.url_prefix( urls.opac_rdetail) + '?r=' + my_acn.record();
@@ -785,7 +785,7 @@
var method; var params = [ ses() ];
switch(obj.hold_interface_type) {
case 'patron' :
- method = 'FM_AHR_ID_LIST_RETRIEVE_VIA_AU';
+ method = 'FM_AHR_ID_LIST_RETRIEVE_VIA_AU.authoritative';
params.push( obj.patron_id );
obj.controller.view.cmd_retrieve_patron.setAttribute('hidden','true');
break;
Modified: trunk/Open-ILS/xul/staff_client/server/patron/info_group.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/info_group.xul 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/info_group.xul 2008-03-10 02:49:04 UTC (rev 8949)
@@ -147,7 +147,7 @@
var p = patron.util.retrieve_au_via_id(ses(),g.patron_id);
if ((p == null) || (typeof p.ilsevent != 'undefined') ) throw(p);
var robj = g.network.simple_request(
- 'FM_AU_LIST_RETRIEVE_VIA_GROUP',
+ 'FM_AU_LIST_RETRIEVE_VIA_GROUP.authoritative',
[ ses(), p.usrgroup() ]
);
if ((robj == null) || (typeof robj.ilsevent != 'undefined') ) throw(robj);
Modified: trunk/Open-ILS/xul/staff_client/server/patron/info_notes.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/info_notes.xul 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/info_notes.xul 2008-03-10 02:49:04 UTC (rev 8949)
@@ -68,10 +68,10 @@
function retrieve_notes() {
if (g.new_note) {
- g.notes = g.network.simple_request('FM_AUN_RETRIEVE_ALL',[ ses(), { 'patronid' : g.patron_id } ]).reverse();
+ g.notes = g.network.simple_request('FM_AUN_RETRIEVE_ALL.authoritative',[ ses(), { 'patronid' : g.patron_id } ]).reverse();
g.new_note = false;
} else {
- g.notes = g.network.simple_request('FM_AUN_RETRIEVE_ALL',[ ses(), { 'patronid' : g.patron_id } ]).reverse();
+ g.notes = g.network.simple_request('FM_AUN_RETRIEVE_ALL.authoritative',[ ses(), { 'patronid' : g.patron_id } ]).reverse();
}
}
Modified: trunk/Open-ILS/xul/staff_client/server/patron/items.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/items.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/items.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -140,7 +140,7 @@
'show_noncats' : function() {
var obj = this; var checkout = {};
try {
- var robj = obj.network.simple_request('FM_ANCC_RETRIEVE_VIA_USER',[ ses(), obj.patron_id ]);
+ var robj = obj.network.simple_request('FM_ANCC_RETRIEVE_VIA_USER.authoritative',[ ses(), obj.patron_id ]);
if (typeof robj.ilsevent != 'undefined') throw(robj);
for (var ii = 0; ii < robj.length; ii++) {
@@ -560,7 +560,7 @@
if (!row.my.circ) {
obj.network.simple_request(
- 'FM_CIRC_DETAILS',
+ 'FM_CIRC_DETAILS.authoritative',
[ row.my.circ_id ],
function(req) {
try {
@@ -590,7 +590,7 @@
params.on_retrieve(row);
}
} catch(E) {
- obj.error.standard_unexpected_error_alert('Error in callback for FM_CIRC_DETAILS in patron/items.js',E);
+ obj.error.standard_unexpected_error_alert('Error in callback for FM_CIRC_DETAILS.authoritative in patron/items.js',E);
}
}
);
@@ -700,7 +700,7 @@
obj.checkouts = [];
obj.checkouts2 = [];
var robj = obj.network.simple_request(
- 'FM_CIRC_RETRIEVE_VIA_USER',
+ 'FM_CIRC_RETRIEVE_VIA_USER.authoritative',
[ ses(), obj.patron_id ]
);
if (typeof robj.ilsevent!='undefined') {
@@ -713,7 +713,7 @@
obj.checkouts2 = obj.checkouts2.concat( robj.long_overdue );
}
var robj = obj.network.simple_request(
- 'FM_CIRC_IN_WITH_FINES_VIA_USER',
+ 'FM_CIRC_IN_WITH_FINES_VIA_USER.authoritative',
[ ses(), obj.patron_id ]
);
if (typeof robj.ilsevent!='undefined') {
Modified: trunk/Open-ILS/xul/staff_client/server/patron/summary.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/summary.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/summary.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -128,7 +128,7 @@
return function() {
e.setAttribute('value','...');
obj.network.simple_request(
- 'FM_MOUS_RETRIEVE',
+ 'FM_MOUS_RETRIEVE.authoritative',
[ ses(), obj.patron.id() ],
function(req) {
JSAN.use('util.money');
@@ -138,7 +138,7 @@
);
/*
obj.network.simple_request(
- 'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_BALANCE',
+ 'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_BALANCE.authoritative',
[ ses(), obj.patron.id() ],
function(req) {
JSAN.use('util.money');
@@ -149,7 +149,7 @@
}
var sum = 0;
for (var i = 0; i < list.length; i++) {
- var robj = typeof list[i] == 'object' ? list[i] : obj.network.simple_request('FM_MBTS_RETRIEVE',[ses(),list[i]]);
+ var robj = typeof list[i] == 'object' ? list[i] : obj.network.simple_request('FM_MBTS_RETRIEVE.authoritative',[ses(),list[i]]);
sum += util.money.dollars_float_to_cents_integer( robj.balance_owed() );
}
if (sum > 0) addCSSClass(document.documentElement,'PATRON_HAS_BILLS');
@@ -172,7 +172,7 @@
var e5 = document.getElementById( 'patron_lost' ); if (e5) e5.setAttribute('value','...');
var e6 = document.getElementById( 'patron_noncat' ); if (e6) e6.setAttribute('value','...');
obj.network.simple_request(
- 'FM_CIRC_COUNT_RETRIEVE_VIA_USER',
+ 'FM_CIRC_COUNT_RETRIEVE_VIA_USER.authoritative',
[ ses(), obj.patron.id() ],
function(req) {
try {
@@ -188,7 +188,7 @@
}
);
obj.network.simple_request(
- 'FM_ANCC_RETRIEVE_VIA_USER',
+ 'FM_ANCC_RETRIEVE_VIA_USER.authoritative',
[ ses(), obj.patron.id() ],
function(req) {
var robj = req.getResultObject();
@@ -214,7 +214,7 @@
var e2 = document.getElementById('patron_holds_available');
if (e2) e2.setAttribute('value','...');
obj.network.simple_request(
- 'FM_AHR_COUNT_RETRIEVE',
+ 'FM_AHR_COUNT_RETRIEVE.authoritative',
[ ses(), obj.patron.id() ],
function(req) {
e.setAttribute('value',
@@ -572,7 +572,7 @@
var robj;
if (obj.barcode && obj.barcode != 'null') {
robj = obj.network.simple_request(
- 'FM_AU_RETRIEVE_VIA_BARCODE',
+ 'FM_AU_RETRIEVE_VIA_BARCODE.authoritative',
[ ses(), obj.barcode ]
);
} else if (obj.id && obj.id != 'null') {
Modified: trunk/Open-ILS/xul/staff_client/server/patron/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/util.js 2008-03-10 02:35:40 UTC (rev 8948)
+++ trunk/Open-ILS/xul/staff_client/server/patron/util.js 2008-03-10 02:49:04 UTC (rev 8949)
@@ -484,7 +484,7 @@
JSAN.use('util.network');
var network = new util.network();
var patron_obj = network.simple_request(
- 'FM_AU_RETRIEVE_VIA_BARCODE',
+ 'FM_AU_RETRIEVE_VIA_BARCODE.authoritative',
[ session, id ]
);
patron.util.set_penalty_css(patron_obj);
@@ -525,10 +525,10 @@
removeCSSClass(document.documentElement,'PATRON_NET_ACCESS_3');
JSAN.use('util.network'); var net = new util.network();
- net.simple_request('FM_MOUS_RETRIEVE',[ ses(), patron.id() ], function(req) {
+ net.simple_request('FM_MOUS_RETRIEVE.authoritative',[ ses(), patron.id() ], function(req) {
if (req.getResultObject().balance_owed() > 0) addCSSClass(document.documentElement,'PATRON_HAS_BILLS');
});
- net.simple_request('FM_CIRC_COUNT_RETRIEVE_VIA_USER',[ ses(), patron.id() ], function(req) {
+ net.simple_request('FM_CIRC_COUNT_RETRIEVE_VIA_USER.authoritative',[ ses(), patron.id() ], function(req) {
try {
var co = req.getResultObject();
if (co.overdue > 0 || co.long_overdue > 0) addCSSClass(document.documentElement,'PATRON_HAS_OVERDUES');
@@ -536,7 +536,7 @@
alert(E);
}
});
- net.simple_request('FM_AUN_RETRIEVE_ALL',[ ses(), { 'patronid' : patron.id() } ], function(req) {
+ net.simple_request('FM_AUN_RETRIEVE_ALL.authoritative',[ ses(), { 'patronid' : patron.id() } ], function(req) {
var notes = req.getResultObject();
if (notes.length > 0) addCSSClass(document.documentElement,'PATRON_HAS_NOTES');
});
More information about the open-ils-commits
mailing list