details: https://code.openbravo.com/erp/devel/pi/rev/39e953973e56
changeset: 17727:39e953973e56
user: Augusto Mauch <augusto.mauch <at> openbravo.com>
date: Tue Aug 21 11:13:24 2012 +0200
summary: 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.
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
| 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 978a3dc1d8c3 -r 39e953973e56
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
Tue Aug 21 10:05:02 2012 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
Tue Aug 21 11:13:24 2012 +0200
@@ -831,7 +831,9 @@
this.viewGrid.deselectAllRecords(false, true);
if (this.viewGrid.filterEditor) {
- this.viewGrid.clearFilter(false, true);
+ // do not clear the implicit filter
+ // see issue https://issues.openbravo.com/view.php?id=19943
+ this.viewGrid.clearFilter(true, true);
}
if (this.viewGrid.data && this.viewGrid.data.setCriteria) {
this.viewGrid.data.setCriteria(null);
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits