Author: lektran
Date: Fri May 16 06:41:55 2008
New Revision: 657060

URL: http://svn.apache.org/viewvc?rev=657060&view=rev
Log:
Revert my last commit to this file, the method call shouldn't have been 
changed, thanks to Jacopo for the heads up

Modified:
    
ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/countFacilityInventoryByProduct.bsh

Modified: 
ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/countFacilityInventoryByProduct.bsh
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/countFacilityInventoryByProduct.bsh?rev=657060&r1=657059&r2=657060&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/countFacilityInventoryByProduct.bsh
 (original)
+++ 
ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/countFacilityInventoryByProduct.bsh
 Fri May 16 06:41:55 2008
@@ -228,7 +228,7 @@
     List prods = null;
     try {
         beganTransaction = TransactionUtil.begin();
-        prodsEli = delegator.find(prodView, whereCondition, null, null, 
orderBy, findOpts);
+        prodsEli = delegator.findListIteratorByCondition(prodView, 
whereCondition, null, null, orderBy, findOpts);
 
         // get the indexes for the partial list
         lowIndex = ((viewIndex.intValue() * viewSize.intValue()) + 1);
@@ -268,7 +268,7 @@
             if (! UtilValidate.isEmpty(checkTime)) {
             
                 // Make a query against the sales usage view entity
-                salesUsageIt = delegator.find(salesUsageViewEntity, 
+                salesUsageIt = 
delegator.findListIteratorByCondition(salesUsageViewEntity, 
                         new EntityConditionList(
                             UtilMisc.toList(
                                 new EntityExpr("facilityId", 
EntityOperator.EQUALS, facilityId),
@@ -294,7 +294,7 @@
                 salesUsageIt.close();
         
                 // Make a query against the production usage view entity
-                productionUsageIt = delegator.find(productionUsageViewEntity, 
+                productionUsageIt = 
delegator.findListIteratorByCondition(productionUsageViewEntity, 
                         new EntityConditionList(
                             UtilMisc.toList(
                                 new EntityExpr("facilityId", 
EntityOperator.EQUALS, facilityId),


Reply via email to