Fixed issue
33482: Implicit filters were not working fine on updated instances
When a grid configuration was done in one instance and after that the instance was updated, the implicit filters were not working fine. The blue popup expressing that a filter is applied appeared but there was no filter applied.
The problem was in the isFilterClauseApplied function of ob-grid.js. There only was taking into account boolean values. Now, it takes into account any value.
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js Wed Jul 13 09:45:27 2016 -0400
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js Fri Jul 15 23:25:35 2016 +0200
@@ -91,7 +91,7 @@
},
isFilterClauseApplied: function () {
- return true === this.filterClause;
+ return !!this.filterClause;
},
cellHoverHTML: function (record, rowNum, colNum) {