svn commit: r479578 - /incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r479578 - /incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh

jacopoc
Author: jacopoc
Date: Mon Nov 27 02:35:54 2006
New Revision: 479578

URL: http://svn.apache.org/viewvc?view=rev&rev=479578
Log:
Small pagination fix.
OFBIZ-473

Modified:
    incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh

Modified: incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh?view=diff&rev=479578&r1=479577&r2=479578
==============================================================================
--- incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh (original)
+++ incubator/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh Mon Nov 27 02:35:54 2006
@@ -109,7 +109,6 @@
 int lowIndex = viewIndex*viewSize+1;
 int highIndex = (viewIndex+1)*viewSize;
 context.put("lowIndex", lowIndex);
-context.put("highIndex", highIndex);
 
 int arraySize = 0;
 List resultPartialList = null;
@@ -151,6 +150,7 @@
         }
     }
 }
+context.put("highIndex", highIndex);
 context.put("arraySize", arraySize);
 context.put("resultPartialList", resultPartialList);