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

index ccc5188..c23e861 100644 (file)
@@ -607,13 +607,11 @@ Roo.extend(Roo.data.Store, Roo.util.Observable, {
         
         var filterData = [];
         
-        var data = this.snapshot || this.data;
-        
         Roo.each(fn, function(f){
             filterData.push(this.queryBy(fn, scope || this));
         });
         
-        this.data = this.queryBy(fn, scope||this);
+        this.data = this.queryBy(fn, scope || this);
         
     },