Fixes Issue 26723: Force server fetch when filtering characteristics fields.
authorShankar Balachandran <shankar.balachandran@openbravo.com>
Mon, 02 Jun 2014 17:40:04 +0530
changeset 23518 26be6a6858c0
parent 23517 556ae52c73a2
child 23519 3eac84b629e7
Fixes Issue 26723: Force server fetch when filtering characteristics fields.

Cleared allRows along with localData to force fetch from server
whenever product characteristic filter data is changed.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js	Mon Jun 02 17:38:18 2014 +0530
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js	Mon Jun 02 17:40:04 2014 +0530
@@ -501,6 +501,7 @@
     // See issue #24750
     if (this.grid.parentElement.data) {
       this.grid.parentElement.data.localData = null;
+      this.grid.parentElement.data.allRows = null;
     }
 
     this.internalValue = value;