Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019943Openbravo ERPB. User interfacepublic2012-03-05 15:352012-08-23 14:10
Alexey Sivolapov 
AugustoMauch 
lowminoralways
closedfixed 
5
 
3.0MP15 
dbaz
User Interface Application
No
0019943: Implicit filter is automatically cleaned
Implicit filter is automatically cleaned after a record in parent tab was selected (number of records in parent tab MUST be more then 1).
1) Create multi-tab window
2) Set sql + hql filter clauses for child tab
3) Comlile tab, restart Apache
4) Open created window, select any record in parent tab
org.openbravo.client.application/js/main/ob-standard-view.js

761. if (this.viewGrid.filterEditor) {
762. this.viewGrid.clearFilter(false, true);
763. }

Replace parameters of 'clearFilter' method to:
this.viewGrid.clearFilter(true, false);
No tags attached.
Issue History
2012-03-05 15:35Alexey SivolapovNew Issue
2012-03-05 15:35Alexey SivolapovAssigned To => dbaz
2012-03-05 15:35Alexey SivolapovModules => User Interface Application
2012-03-06 09:11Alexey SivolapovNote Added: 0046068
2012-08-14 15:04AugustoMauchAssigned Todbaz => AugustoMauch
2012-08-21 11:14AugustoMauchClosed by => dbaz
2012-08-21 11:14hgbotCheckin
2012-08-21 11:14hgbotNote Added: 0051420
2012-08-21 11:14hgbotStatusnew => resolved
2012-08-21 11:14hgbotResolutionopen => fixed
2012-08-21 11:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/39e953973e56a3c5d886f8d75acf82942b9129c5 [^]
2012-08-23 14:10dbazNote Added: 0051504
2012-08-23 14:10dbazStatusresolved => closed
2012-08-23 14:10dbazFixed in Version => 3.0MP15

Notes
(0046068)
Alexey Sivolapov   
2012-03-06 09:11   
*Change parameters of 'clearFilter' method to:
this.viewGrid.clearFilter(true, true);
(0051420)
hgbot   
2012-08-21 11:14   
Repository: erp/devel/pi
Changeset: 39e953973e56a3c5d886f8d75acf82942b9129c5
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Aug 21 11:13:24 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/39e953973e56a3c5d886f8d75acf82942b9129c5 [^]

Fixes issue 19943: Implicit filters not cleared when the tab is refreshed

Due to a call to clearFilter with the wrong parameters, the implicit filters of the tab were being cleared each time the tab was refreshed. This has been fixed by calling clearFilter with the keepFilterClause parameter set to true.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0051504)
dbaz   
2012-08-23 14:10   
Reviewed @ changeset: 17752 - f1c506df75cd