fairport
13 Sep 2011, 9:55 PM
I am needing to apply 2 filters to a data store...
I found that
This (2 separate filters) works
myStore.load();
myStore.filter({
property: "ClientID",
value: 12345,
exactMatch: true
});
myStore.filter({
property: "IsCurrent",
value: true
});
But this (an array of 2 filters) doesn’t
myStore.load();
myStore.filter({
property: "ClientID",
value: 12345,
exactMatch: true
},{
property: "IsCurrent",
value: true
});
I ONLY get ClientID filtering
Is this normal behavior?
Thanks
Roger
I found that
This (2 separate filters) works
myStore.load();
myStore.filter({
property: "ClientID",
value: 12345,
exactMatch: true
});
myStore.filter({
property: "IsCurrent",
value: true
});
But this (an array of 2 filters) doesn’t
myStore.load();
myStore.filter({
property: "ClientID",
value: 12345,
exactMatch: true
},{
property: "IsCurrent",
value: true
});
I ONLY get ClientID filtering
Is this normal behavior?
Thanks
Roger