Bug 16398 - Keep expanded view after clearing the search form
Summary: Keep expanded view after clearing the search form
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor (vote)
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 16363
  Show dependency treegraph
 
Reported: 2016-04-29 15:53 UTC by Jonathan Druart
Modified: 2016-12-05 21:25 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 16398: Keep the expanded view after clearing the search form (1.40 KB, patch)
2016-04-29 16:00 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 16398: Keep the expanded view after clearing the search form (1.54 KB, patch)
2016-04-30 09:12 UTC, Marc Véron
Details | Diff | Splinter Review
[PASSED QA] Bug 16398: Keep the expanded view after clearing the search form (1.60 KB, patch)
2016-05-02 06:16 UTC, Katrin Fischer
Details | Diff | Splinter Review
[3.22.x] Bug 16398: Keep the expanded view after clearing the search form (1.88 KB, patch)
2016-05-16 11:31 UTC, Julian Maurice
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2016-04-29 15:53:12 UTC

    
Comment 1 Jonathan Druart 2016-04-29 16:00:40 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2016-04-30 09:12:05 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2016-05-02 06:16:06 UTC
Created attachment 51069 [details] [review]
[PASSED QA] 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>
Comment 4 Kyle M Hall 2016-05-03 15:41:38 UTC
Pushed to master for Koha 16.05, thanks Jonathan!
Comment 5 Julian Maurice 2016-05-16 11:31:35 UTC
Created attachment 51524 [details] [review]
[3.22.x] Bug 16398: Keep the expanded view after clearing the search form

Patch for 3.22.x
Comment 6 Julian Maurice 2016-05-16 11:31:54 UTC
Patch pushed to 3.22.x, will be in 3.22.7