View Full Version : Store Filter not finding exact matches

29 Oct 2012, 9:31 AM
I am trying to filter a store based on number field but after I clear and modify the filter it loses the exactMatch property and then it return all the '1*' values when I only want '1'.

This works

filters: { exactMatch: true,
property: 'FixtureID',
value: 1

This breaks it

FixtureBrokerStoreModel.filter("FixtureID", FixtureStoreModel.data.FixtureID );

How do I change the filter and retain the exactMatch?

1 Nov 2012, 8:35 AM
The value you pass into the filter method can be a RegExp to do exact matches.