Bug 16398

Summary: Keep expanded view after clearing the search form
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: SearchingAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: julian.maurice, kyle, veron
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 16363    
Attachments: Bug 16398: Keep the expanded view after clearing the search form
Bug 16398: Keep the expanded view after clearing the search form
[PASSED QA] Bug 16398: Keep the expanded view after clearing the search form
[3.22.x] Bug 16398: Keep the expanded view after clearing the search form

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