[open-ils-commits] r11710 - in trunk/Open-ILS/xul/staff_client/chrome/content: OpenILS main
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Dec 30 14:17:04 EST 2008
Author: phasefx
Date: 2008-12-30 14:17:01 -0500 (Tue, 30 Dec 2008)
New Revision: 11710
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
Log:
get standing penalties via pcrud
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js 2008-12-30 17:21:25 UTC (rev 11709)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js 2008-12-30 19:17:01 UTC (rev 11710)
@@ -515,6 +515,27 @@
this.chain.push(
function() {
var f = gen_fm_retrieval_func(
+ 'csp',
+ [
+ api.FM_CSP_PCRUD_SEARCH.app,
+ api.FM_CSP_PCRUD_SEARCH.method,
+ [ obj.session.key, {"id":{"!=":null}}, {"order_by":{"csp":"id"}} ],
+ false
+ ]
+ );
+ try {
+ f();
+ } catch(E) {
+ var error = 'Error: ' + js2JSON(E);
+ obj.error.sdump('D_ERROR',error);
+ throw(E);
+ }
+ }
+ );
+
+ this.chain.push(
+ function() {
+ var f = gen_fm_retrieval_func(
'au',
[
api.FM_AU_RETRIEVE_VIA_SESSION.app,
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js 2008-12-30 17:21:25 UTC (rev 11709)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js 2008-12-30 19:17:01 UTC (rev 11710)
@@ -161,6 +161,7 @@
'FM_CNAL_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.net_access_level.retrieve.all', 'secure' : false },
'FM_CNCT_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.non_cat_types.retrieve.all', 'secure' : false },
'FM_CRAHP_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.config.rules.age_hold_protect.retrieve.all', 'secure' : false },
+ 'FM_CSP_PCRUD_SEARCH' : { 'app' : 'open-ils.pcrud', 'method' : 'open-ils.pcrud.search.csp.atomic', 'secure' : false },
'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' },
More information about the open-ils-commits
mailing list