[open-ils-commits] r17700 - branches/rel_2_0/Open-ILS/web/js/ui/default/acq/financial (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Sep 15 13:11:21 EDT 2010


Author: erickson
Date: 2010-09-15 13:11:18 -0400 (Wed, 15 Sep 2010)
New Revision: 17700

Modified:
   branches/rel_2_0/Open-ILS/web/js/ui/default/acq/financial/view_fund.js
Log:
back-port: 17699 => filter debits/allocs by fund in view fund UI

Modified: branches/rel_2_0/Open-ILS/web/js/ui/default/acq/financial/view_fund.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/js/ui/default/acq/financial/view_fund.js	2010-09-15 17:10:30 UTC (rev 17699)
+++ branches/rel_2_0/Open-ILS/web/js/ui/default/acq/financial/view_fund.js	2010-09-15 17:11:18 UTC (rev 17700)
@@ -69,13 +69,13 @@
     /* XXX If we want to show allocating user with a username instead of just
      * ID#, the following pcrud search will have to be replaced with an API
      * call. */
-    fundAllocationGrid.loadAll({order_by : {acqfa :  'create_time DESC'}});
+    fundAllocationGrid.loadAll({order_by : {acqfa :  'create_time DESC'}}, {fund : fundID});
     fundAllocationGrid.isLoaded = true;
 }
 
 function loadDebitGrid() {
     if(fundDebitGrid.isLoaded) return;
-    fundDebitGrid.loadAll({order_by : {acqfdeb :  'create_time DESC'}});
+    fundDebitGrid.loadAll({order_by : {acqfdeb :  'create_time DESC'}}, {fund : fundID});
     fundDebitGrid.isLoaded = true;
 }
 



More information about the open-ils-commits mailing list