svn commit: r990829 - /ofbiz/trunk/framework/example/webapp/birt/report/chart.rptdesign

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

svn commit: r990829 - /ofbiz/trunk/framework/example/webapp/birt/report/chart.rptdesign

erwan
Author: erwan
Date: Mon Aug 30 15:50:07 2010
New Revision: 990829

URL: http://svn.apache.org/viewvc?rev=990829&view=rev
Log:
BIRT is starting at 1, so need to add 1 to the list size

Modified:
    ofbiz/trunk/framework/example/webapp/birt/report/chart.rptdesign

Modified: ofbiz/trunk/framework/example/webapp/birt/report/chart.rptdesign
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/birt/report/chart.rptdesign?rev=990829&r1=990828&r2=990829&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/webapp/birt/report/chart.rptdesign (original)
+++ ofbiz/trunk/framework/example/webapp/birt/report/chart.rptdesign Mon Aug 30 15:50:07 2010
@@ -58,7 +58,7 @@ try {
 totalRow = 0;
 countOfRow = 0;
 if (examples) {
-    totalRow = examples.size();
+    totalRow = examples.size() + 1;
 }]]></method>
             <method name="fetch"><![CDATA[if (countOfRow == totalRow - 1) return false;