]> git.koha-community.org Git - koha.git/commit
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)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 16 May 2016 11:30:54 +0000 (13:30 +0200)
commite78caf0a71c2bd6fc33082d5bdb8848656a47082
treed0bc3159c2979d64db1b456389411368bcb712fc
parent217372f9fc53f31e0524ae987a8b02924a6467bd
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: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt