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>
This commit is contained in:
parent
217372f9fc
commit
e78caf0a71
|
|
@ -91,7 +91,7 @@
|
|||
[% ELSE %]
|
||||
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a>
|
||||
[% END %]
|
||||
<a href="/cgi-bin/koha/catalogue/search.pl?do=Clear">[New search]</a>
|
||||
<a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options %]">[New search]</a>
|
||||
</fieldset>
|
||||
<!-- /SEARCH BUTTONS -->
|
||||
</div>
|
||||
|
|
@ -277,7 +277,7 @@
|
|||
[% ELSE %]
|
||||
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a>
|
||||
[% END %]
|
||||
<a href="/cgi-bin/koha/catalogue/search.pl?do=Clear">[New search]</a>
|
||||
<a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options %]">[New search]</a>
|
||||
</fieldset>
|
||||
<!-- /SEARCH BUTTONS -->
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue