Fixed issue 26767:filters not working in Process Definition
authorGuillermo Gil <guillermo.gil@openbravo.com>
Tue, 03 Jun 2014 12:26:30 +0200
changeset 23524 981b7f518eb2
parent 23523 8c8c5fe578d7
child 23525 c5d3aff2442f
Fixed issue 26767:filters not working in Process Definition

Removed wrong criterias
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js	Tue Jun 03 14:58:59 2014 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js	Tue Jun 03 12:26:30 2014 +0200
@@ -1933,6 +1933,8 @@
               shouldRemove = true;
             }
           }
+        } else if (criterion.fieldName === this.view.parentProperty + OB.Constants.FIELDSEPARATOR + OB.Constants.IDENTIFIER && criterion.operator === 'iEquals') {
+          shouldRemove = true;
         }
 
         if (shouldRemove) {