[open-ils-commits] r19828 - branches/rel_2_1/Open-ILS/xul/staff_client/server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Mar 21 12:43:13 EDT 2011


Author: phasefx
Date: 2011-03-21 12:43:10 -0400 (Mon, 21 Mar 2011)
New Revision: 19828

Modified:
   branches/rel_2_1/Open-ILS/xul/staff_client/server/patron/holds.js
Log:
this "count" method gets the same parameters as the list version

Modified: branches/rel_2_1/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- branches/rel_2_1/Open-ILS/xul/staff_client/server/patron/holds.js	2011-03-21 16:42:01 UTC (rev 19827)
+++ branches/rel_2_1/Open-ILS/xul/staff_client/server/patron/holds.js	2011-03-21 16:43:10 UTC (rev 19828)
@@ -1492,7 +1492,7 @@
                     params.push( obj.pull_from_shelf_interface.current.limit ); params.push( obj.pull_from_shelf_interface.current.offset );
                     var x = document.getElementById('hold_count');
                     if (x) {
-                        obj.network.simple_request('FM_AHR_PULL_LIST_COUNT',[ses()],function(req) {
+                        obj.network.simple_request('FM_AHR_PULL_LIST_COUNT',params,function(req) {
                             var count = req.getResultObject();
                             if (typeof count.ilsevent == 'undefined' && count != null) {
                                 x.setAttribute('value', document.getElementById('patronStrings').getFormattedString(



More information about the open-ils-commits mailing list