[TEMP] Patch to disable implicit filters
authorAsier Martirena <asier.martirena@openbravo.com>
Thu, 23 Nov 2017 17:24:34 +0100
changeset 32420 ad1e5c216840
parent 32419 7e461095eb28
child 32421 e66f5346408c
[TEMP] Patch to disable implicit filters
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewGridComponent.java
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewGridComponent.java	Tue Nov 07 13:13:14 2017 +0100
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewGridComponent.java	Thu Nov 23 17:24:34 2017 +0100
@@ -155,7 +155,10 @@
   }
 
   public boolean isHasFilterClause() {
-    return (this.isApplyTransactionalFilter() || StringUtils.isNotBlank(tab.getHqlfilterclause()));
+    // return (this.isApplyTransactionalFilter() ||
+    // StringUtils.isNotBlank(tab.getHqlfilterclause()));
+    // Implicit filters in transactional windows temporary disabled
+    return StringUtils.isNotBlank(tab.getHqlfilterclause());
   }
 
   public String getFilterClauseSQL() {