[open-ils-commits] r17699 - trunk/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:10:33 EDT 2010


Author: erickson
Date: 2010-09-15 13:10:30 -0400 (Wed, 15 Sep 2010)
New Revision: 17699

Modified:
   trunk/Open-ILS/web/js/ui/default/acq/financial/view_fund.js
Log:
in the view fund UI, filter debits and allocations by the specific fund in question

Modified: trunk/Open-ILS/web/js/ui/default/acq/financial/view_fund.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/financial/view_fund.js	2010-09-15 17:02:16 UTC (rev 17698)
+++ trunk/Open-ILS/web/js/ui/default/acq/financial/view_fund.js	2010-09-15 17:10:30 UTC (rev 17699)
@@ -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