Bug 16364

Summary: Cleaning up appearance of advanced search
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: SearchingAssignee: Aleisha Amohia <aleisha>
Status: ASSIGNED --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 16364: Cleaning up appearance of advanced search
Screenshot showing layout problems
This is how it should look showing fewer options

Description Aleisha Amohia 2016-04-27 04:47:02 UTC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10171#c1 brought it to my attention that the advanced search could use some touching up...

See Bug 16363 for a floating toolbar also
Comment 1 Aleisha Amohia 2016-04-27 04:51:07 UTC
Created attachment 50785 [details] [review]
Bug 16364: Cleaning up appearance of advanced search

This patch uses the page space a bit more wisely to reduce scrolling

To test:
1) Go to advanced search
2) Notice Subtype limits and Sorting divs are now stacked and Location and availability div is floated to the right (reduces scrolling)
3) Click [More options]
4) Notice Item type div becomes smaller and Limits div is now floated to the right
5) Notice that checkboxes next to item types are nicely aligned

Sponsored-by: Catalyst IT
Comment 2 Owen Leonard 2016-04-27 13:15:15 UTC
Created attachment 50801 [details]
Screenshot showing layout problems

The layout isn't working for me. Can you post a screenshot of what you see?
Comment 3 Aleisha Amohia 2016-04-27 20:46:21 UTC
Created attachment 50848 [details]
This is how it should look showing fewer options
Comment 4 Aleisha Amohia 2016-04-27 20:47:30 UTC
However, when I click More options on my computer at work the layout looks the way it should but it breaks on my personal laptop. I will keep working on this.
Comment 5 Katrin Fischer 2016-04-27 20:51:43 UTC
Hi Aleisha, did you see the more/fewer options are configurable with system preferences? Maybe that's one of the differences between yours and Owen's view.
(OpacAdvSearchMoreOptions, OpacAdvSearchOptions)
Comment 6 Katrin Fischer 2016-04-27 20:52:25 UTC
Hm ok, scratch that - seems to only apply to the OPAC!
Comment 7 Owen Leonard 2016-04-28 01:28:59 UTC
Aleisha if you're looking to make two 50% width columns, the built-in grid can do that:

https://wiki.koha-community.org/wiki/Interface_patterns#Grids_within_pages
Comment 8 Aleisha Amohia 2016-04-28 01:32:33 UTC
(In reply to Owen Leonard from comment #7)
> Aleisha if you're looking to make two 50% width columns, the built-in grid
> can do that:
> 
> https://wiki.koha-community.org/wiki/Interface_patterns#Grids_within_pages

I think this may have been exactly what I was needing ... thanks, will have a look at a new patch