Fixes issue 18765: AND and OR logic does not work in column filter expressions
authorMartin Taal <martin.taal@openbravo.com>
Tue, 08 Nov 2011 03:54:05 +0100
changeset 14208 a5cfc47000ab
parent 14207 c84d368f836c
child 14209 156cf2dff878
Fixes issue 18765: AND and OR logic does not work in column filter expressions
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
--- a/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js	Mon Nov 07 18:33:22 2011 +0100
+++ b/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js	Tue Nov 08 03:54:05 2011 +0100
@@ -112,7 +112,7 @@
       result = { operator: "and", criteria: [] },
       crit = result.criteria,
       valueParts = [],
-      allowEx = this._shouldAllowExpressions(),
+      allowEx = true,
       ds = isc.DS.get(this.form.expressionDataSource || this.form.dataSource)
     ;