View Full Version : [OPEN] [FIXED] StoreFilterField removes all filters

Colin Alworth
30 Jun 2009, 12:28 PM
If a StoreFilterField is bound to a Store, and the content of the field is removed, then all other filters are removed from the Store.

Store<MyData> store = ...;

StoreFilterField<MyData> nameFilter = new StoreFilterField<MyData>() {
protected boolean doSelect...

StoreFilterField<MyData> typeFilter = new StoreFilterField<MyData>() {
protected boolean doSelect...
typeFilter.bind(store);Add text to both to filter a list or grid, then remove text from one - the filter added by the other will be removed as well. This is because StoreFilterField.applyFilters clears all of the filters from a Store if it is empty, instead of just running the filter again (in which case doSelect should do nothing to filter the content).

30 Jun 2009, 1:13 PM
Fixed in SVN.