[open-ils-commits] r8913 -
branches/rel_1_2/Open-ILS/src/javascript/backend/circ
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 7 18:46:42 EST 2008
Author: erickson
Date: 2008-03-07 18:14:00 -0500 (Fri, 07 Mar 2008)
New Revision: 8913
Modified:
branches/rel_1_2/Open-ILS/src/javascript/backend/circ/circ_lib.js
Log:
added initial checkouts-by-circ-mod JS handler. needs testing
Modified: branches/rel_1_2/Open-ILS/src/javascript/backend/circ/circ_lib.js
===================================================================
--- branches/rel_1_2/Open-ILS/src/javascript/backend/circ/circ_lib.js 2008-03-07 23:13:15 UTC (rev 8912)
+++ branches/rel_1_2/Open-ILS/src/javascript/backend/circ/circ_lib.js 2008-03-07 23:14:00 UTC (rev 8913)
@@ -204,6 +204,12 @@
return false;
}
+/* returns a dictionary of circmod : count for checked out items */
+function checkoutsByCircModifier(userid) {
+ var key = scratchKey();
+ __OILS_FUNC_userCircsByCircmod(scratchPad(key), userid);
+ return getScratch(key);
+}
/* useful for testing */
More information about the open-ils-commits
mailing list