Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011709Openbravo ERPZ. Otherspublic2009-12-08 10:202011-09-21 22:41
arunkumar 
shuehner 
normalminorhave not tried
closedno change required 
5
2.40 
 
Core
No
0011709: Total number of records is not displayed while pagination
Assume there are 15 records,if we are viewing first five records then the page should display 1-5/15
Prerequisite:

Have a 2.40 environment.
change the org.openbravo.erpCommon.utility.TableSQLData.maxRowsPerGridPage to 5.

Steps:

Go to Information -> Product. Click that.
Product Selector popup window will be opened.
Since we have restricted the number of rows to 5 first five rows will be displayed.Assume that there are totally 15 records.
The page is displaying 1-5/5
The page should display 1-5/15 (since the total number of records is 15).There is no meaning in displaying 1-5/5
page data grid
blocks defect 0011678 closed shuehner Total number of records is not displayed while pagination 
Issue History
2009-12-09 16:25psarobeTypedefect => backport
2009-12-09 16:25psarobefix_in_branch => 2.40
2009-12-11 15:34rafarodaAssigned Torafaroda => shuehner
2009-12-11 17:04rafarodaTag Attached: page data grid
2010-02-18 10:38azabaletaNote Added: 0024571
2011-09-21 22:41shuehnerNote Added: 0041207
2011-09-21 22:41shuehnerStatusscheduled => closed
2011-09-21 22:41shuehnerResolutionopen => no change required

Notes
(0024571)
azabaleta   
2010-02-18 10:38   
Hi,

I totally agree that showing the total number of registers would be very useful. Lot of times users go to a window to quickly look just the total number of registers and now, with more than 10.000 registers this cannot be done.

Thanks for opening the bug.

Asier
(0041207)
shuehner   
2011-09-21 22:41   
This change was done intentional and one of the main technical goals of the 'paged datagrid' was to not need to calculate the total numbers of rows.

However with the new 3.0 major version the grid's to now show any global count anymore so this changed behavior is now the standard behavior in the new design even.