From 8cfc245cd4b658720ac4917607debe303f65421b Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 22 Sep 2008 04:41:19 +0000 Subject: [PATCH] bad search & replace. Need to ask Bill for an .authoritative version of open-ils.search.biblio.mods_from_copy git-svn-id: svn://svn.open-ils.org/ILS/trunk@10673 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/main/constants.js | 1 + Open-ILS/xul/staff_client/server/circ/in_house_use.js | 2 +- Open-ILS/xul/staff_client/server/patron/bill_details.xul | 2 +- Open-ILS/xul/staff_client/server/patron/bill_history.xul | 2 +- Open-ILS/xul/staff_client/server/patron/bill_wizard.xul | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) 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 6e952ae756..9bb0cbf479 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -200,6 +200,7 @@ const api = { '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 }, + 'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY.authoritative' : { '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' }, 'PERM_RETRIEVE_HIGHEST_ORG' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.perm.highest_org' }, diff --git a/Open-ILS/xul/staff_client/server/circ/in_house_use.js b/Open-ILS/xul/staff_client/server/circ/in_house_use.js index 3c1c4631ba..5a008d27a0 100644 --- a/Open-ILS/xul/staff_client/server/circ/in_house_use.js +++ b/Open-ILS/xul/staff_client/server/circ/in_house_use.js @@ -278,7 +278,7 @@ circ.in_house_use.prototype = { return; } - var mods = obj.network.simple_request('MODS_SLIM_RECORD_RETRIEVE.authoritative_VIA_COPY',[ copy.id() ]); + var mods = obj.network.simple_request('MODS_SLIM_RECORD_RETRIEVE_VIA_COPY.authoritative',[ 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 } ] ); diff --git a/Open-ILS/xul/staff_client/server/patron/bill_details.xul b/Open-ILS/xul/staff_client/server/patron/bill_details.xul index 5aba6cbc80..5c75a23484 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill_details.xul +++ b/Open-ILS/xul/staff_client/server/patron/bill_details.xul @@ -120,7 +120,7 @@ $('copy_summary').hidden=false; g.network.simple_request( - 'MODS_SLIM_RECORD_RETRIEVE.authoritative_VIA_COPY', + 'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY.authoritative', [ r_circ.target_copy() ], function (rreq) { var r_mvr = rreq.getResultObject(); diff --git a/Open-ILS/xul/staff_client/server/patron/bill_history.xul b/Open-ILS/xul/staff_client/server/patron/bill_history.xul index 3038677262..e102e28c0e 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill_history.xul +++ b/Open-ILS/xul/staff_client/server/patron/bill_history.xul @@ -164,7 +164,7 @@ $('copy_summary').hidden=false; g.network.simple_request( - 'MODS_SLIM_RECORD_RETRIEVE.authoritative_VIA_COPY', + 'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY.authoritative', [ r_circ.target_copy() ], function (rreq) { var r_mvr = rreq.getResultObject(); diff --git a/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul b/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul index ca8d7c95d7..5dd8ad9955 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul +++ b/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul @@ -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.authoritative_VIA_COPY', + 'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY.authoritative', [ r_circ.target_copy() ], function (rreq) { var r_mvr = rreq.getResultObject(); -- 2.43.2