Roo/data/Store.js
authoredward <edward@roojs.com>
Mon, 9 Nov 2015 07:05:18 +0000 (15:05 +0800)
committeredward <edward@roojs.com>
Mon, 9 Nov 2015 07:05:18 +0000 (15:05 +0800)
Roo/data/Store.js

index c23e861..f636dba 100644 (file)
@@ -608,11 +608,14 @@ Roo.extend(Roo.data.Store, Roo.util.Observable, {
         var filterData = [];
         
         Roo.each(fn, function(f){
-            filterData.push(this.queryBy(fn, scope || this));
+            filterData.push(this.queryBy(f, scope || this));
         });
         
-        this.data = this.queryBy(fn, scope || this);
+        Roo.each(afn, function(f){
+            filterData.push(this.queryBy(f, scope || this));
+        });
         
+        Roo.log(filterData);
     },
 
     /**