From 160d864cff8c1018c694609721afd378963b7b0d Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 23 May 2013 13:24:04 -0700 Subject: [PATCH] LP1183553 (continued) - Fix applied filters 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 Signed-off-by: Ben Shum --- Open-ILS/web/js/dojo/openils/widget/AutoGrid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js index 6dd5b58aef..73f3509c67 100644 --- a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js +++ b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js @@ -108,7 +108,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) { {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 ), -- 2.11.0