The filter dialog kept the previous filter around and then joined the
new one with it. This repairs that issue and applies the new filter
options on subsequent loading.
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Ben Shum <bshum@biblio.org>
{fmClass:self.fmClass, suppressFilterFields:self.suppressFilterFields})
self.filterDialog.onApply = function(filter) {
- self.cachedQuerySearch = dojo.mixin( filter, self.preFilterSearch );
+ self.cachedQuerySearch = filter;
self.resetStore();
self.loadAll(
dojo.mixin( { offset : 0 }, self.cachedQueryOpts ),