From: Mike Taylor Date: Mon, 2 Dec 2013 16:21:10 +0000 (+0000) Subject: When a new search is submitted, reset and redraw the filters. X-Git-Tag: 0.9.1~140 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=6bdb4d7df78c7b1f2aebc1fc9ce198565528d4e1 When a new search is submitted, reset and redraw the filters. Fixes MKWS-72 ("Facet selection persist across searches") --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index b6f059e..8c4adf5 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -408,6 +408,8 @@ function domReady () // when search button pressed function onFormSubmitEventHandler() { + mkws.filters = [] + redraw_navi(); resetPage(); loadSelect(); triggerSearch();