Bug 16398: Keep the expanded view after clearing the search form
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 29 Apr 2016 15:52:26 +0000 (16:52 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 3 May 2016 15:40:40 +0000 (15:40 +0000)
commit7a58f14bfc4e774033e215ffe1cd54caf206a3b5
treee3b3717e8dfb8128d405e6b8c9db25dcdb7d7993
parente35b310a1e40bc9ee267c88caeca4a56ffbb4636
Bug 16398: Keep the expanded view after clearing the search form

On the advanced search form, the "Clear fields" button should pass expanded_options
param to preserve the view we use.

Test plan:
- Click on more options
- Fill some fields
- Click on "Clear fields"
=> Without this patch you get the "fewer options" view
=> With this patch, you will keep the "more options" view

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt