this "count" method gets the same parameters as the list version
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Mar 2011 16:42:01 +0000 (16:42 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Mar 2011 16:42:01 +0000 (16:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@19827 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/holds.js

index 8846577..b209cff 100644 (file)
@@ -1492,7 +1492,7 @@ patron.holds.prototype = {
                     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(