Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019130Openbravo ERPB. User interfacepublic2011-11-22 04:502011-11-30 22:16
johnfandl 
mtaal 
normalmajoralways
closedfixed 
5
 
3.0MP6 
Core
No
0019130: Refresh button has incorrect side effect of clearing column filters / current saved view
The refresh button on the toolbar unexpectedly clears column filters (even if I have a named view selected!)
1. Open a Named View that contains at least one column filter [OK]
2. Click the refresh button to retrieve new data from the database [OK]
3. Notice that the column filters are cleared

Note that if the Named View in 1. is the default view, then the filter are not cleared.
Do not clear column filters when the user clicks the refresh button--asking for fresh data from the database has no logical connection to changing column filters set by the user. These are independent user actions and are incorrectly linked.
No tags attached.
diff 19130.diff (1,162) 2011-11-30 07:50
https://issues.openbravo.com/file_download.php?file_id=4797&type=bug
Issue History
2011-11-22 04:50johnfandlNew Issue
2011-11-22 04:50johnfandlAssigned To => dbaz
2011-11-22 04:50johnfandlModules => Core
2011-11-22 04:55johnfandlNote Added: 0043068
2011-11-22 12:53dbazAssigned Todbaz => mtaal
2011-11-30 07:50mtaalFile Added: 19130.diff
2011-11-30 11:16hgbotCheckin
2011-11-30 11:16hgbotNote Added: 0043421
2011-11-30 11:16hgbotStatusnew => resolved
2011-11-30 11:16hgbotResolutionopen => fixed
2011-11-30 11:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a7b3f3c206e40a4865286728492548ccdc937d15 [^]
2011-11-30 13:11dbazNote Added: 0043578
2011-11-30 13:11dbazStatusresolved => closed
2011-11-30 13:11dbazFixed in Version => 3.0MP6
2011-11-30 22:16hudsonbotCheckin
2011-11-30 22:16hudsonbotNote Added: 0043610

Notes
(0043068)
johnfandl   
2011-11-22 04:55   
It seems to work as expected AS LONG AS YOU NEVER SELECT A ROW. THE MINUTE A ROW IS SELECTED, THE COLUMN FILTERS ARE CLEARED WHEN THE REFRESH BUTTON IS CLICKED.
(0043421)
hgbot   
2011-11-30 11:16   
Repository: erp/devel/pi
Changeset: a7b3f3c206e40a4865286728492548ccdc937d15
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Nov 30 11:15:53 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a7b3f3c206e40a4865286728492548ccdc937d15 [^]

Fixes issue 19130: Refresh button has incorrect side effect of clearing column filters / current saved view

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0043578)
dbaz   
2011-11-30 13:11   
Reviewed @ changeset 14762 - 1fac7a8950d1
(0043610)
hudsonbot   
2011-11-30 22:16   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/598bceb6e1a9 [^]

Maturity status: Test