projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aa84c84
)
Roo/data/Store.js
author
edward
<edward@roojs.com>
Mon, 9 Nov 2015 08:02:42 +0000
(16:02 +0800)
committer
edward
<edward@roojs.com>
Mon, 9 Nov 2015 08:02:42 +0000
(16:02 +0800)
Roo/data/Store.js
patch
|
blob
|
history
diff --git
a/Roo/data/Store.js
b/Roo/data/Store.js
index
091d8f1
..
bb1fe7b
100644
(file)
--- a/
Roo/data/Store.js
+++ b/
Roo/data/Store.js
@@
-584,13
+584,8
@@
Roo.extend(Roo.data.Store, Roo.util.Observable, {
* @param {Boolean} anyMatch True to match any part not just the beginning
*/
filter : function(property, value, anyMatch){
* @param {Boolean} anyMatch True to match any part not just the beginning
*/
filter : function(property, value, anyMatch){
-
- if(typeof(property) == 'string'){
- var fn = this.createFilterFn(property, value, anyMatch);
- return fn ? this.filterBy(fn) : this.clearFilter();
- }
-
-
+ var fn = this.createFilterFn(property, value, anyMatch);
+ return fn ? this.filterBy(fn) : this.clearFilter();
},
/**
},
/**