Bug 28819

Summary: Add link to item search from mainpage.pl
Product: Koha Reporter: Donna <bwsdonna>
Component: Staff ClientAssignee: Lucas Gass <lucas>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: andrew, fridolin.somers, gmcharlt, jonathan.druart+koha, kelly, kyle, lucas, nick, sbrown
Version: master   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24088
Change sponsored?: --- Patch complexity: Trivial patch
Text to go in the release notes:
Version(s) released in:
21.11.00
Bug Depends on:    
Bug Blocks: 28878    
Attachments: Bug 28819: Add item search to intranet-main.tt
Bug 28819: Add item search to intranet-main.tt
Bug 28819: Add item search to intranet-main.tt
Bug 28819: Add item search to intranet-main.tt
Bug 28819: (follow-up) Use stacked icons for different searches
Bug 28819: (follow-up) Use stacked icons for different searches
Bug 28819: Fix advanced search button on mainpage.pl incorrectly links to item search

Description Donna 2021-08-06 01:14:46 UTC
The only way to access item search is through the drop down Search link in the top bar.  It would be helpful to have a "button" to the item search on the main page, like there is for Advanced Search.  The item search is heavily used, and having a more prominent way to access it would be helpful.
Comment 1 Lucas Gass 2021-08-09 16:44:09 UTC Comment hidden (obsolete)
Comment 2 Kelly McElligott 2021-08-10 15:27:17 UTC
I signed off on this patch- Kelly McElligott 
kelly@bywatersolutions.com
Comment 3 Kyle M Hall 2021-08-10 15:48:39 UTC Comment hidden (obsolete)
Comment 4 Kyle M Hall 2021-08-10 15:48:58 UTC Comment hidden (obsolete)
Comment 5 Nick Clemens 2021-08-13 15:16:20 UTC
Created attachment 123827 [details] [review]
Bug 28819: Add item search to intranet-main.tt

To test:
1. Apply patch
2. Go to staff main page ( intranet-main.tt )
3. Now you should see an 'Item search' button and icon.

Signed-off-by: kelly mcelligott <kelly@bywatersolutions.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 6 Nick Clemens 2021-08-13 15:16:48 UTC
Trivial, passing QA, understand if RM wants outside opinion :-)
Comment 7 Owen Leonard 2021-08-13 17:13:34 UTC
Created attachment 123834 [details] [review]
Bug 28819: (follow-up) Use stacked icons for different searches

This patch modifies the staff interface home page so that the "Advanced
search" and "Item search" links are differentated using stacked Font
Awesome icons.

To test, apply the patch and view the staff interface home page. The
icons associated with advanced and item searches should be different:

- The Advanced search link should have a magnifying glass icon on top of
  a grey book icon.
- The Item search link should have a magnifying glass icon on top of a
  grey list icon.
Comment 8 Owen Leonard 2021-08-13 17:19:22 UTC
I talked Fridolin out of doing this in Bug 24088, but I guess this is a sign it really is wanted. I hope my follow-up helps.
Comment 9 Nick Clemens 2021-08-13 17:20:52 UTC
Created attachment 123838 [details] [review]
Bug 28819: (follow-up) Use stacked icons for different searches

This patch modifies the staff interface home page so that the "Advanced
search" and "Item search" links are differentated using stacked Font
Awesome icons.

To test, apply the patch and view the staff interface home page. The
icons associated with advanced and item searches should be different:

- The Advanced search link should have a magnifying glass icon on top of
  a grey book icon.
- The Item search link should have a magnifying glass icon on top of a
  grey list icon.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 10 Jonathan Druart 2021-08-16 10:05:20 UTC
Pushed to master for 21.11, thanks to everybody involved!
Comment 11 Fridolin Somers 2021-08-17 06:16:22 UTC
(In reply to Owen Leonard from comment #8)
> I talked Fridolin out of doing this in Bug 24088, but I guess this is a sign
> it really is wanted. I hope my follow-up helps.

Yeeeees we love this :D
Comment 12 Jonathan Druart 2021-08-19 07:51:11 UTC
Created attachment 123968 [details] [review]
Bug 28819: Fix advanced search button on mainpage.pl incorrectly links to item search

The previous follow-up changed the link for the Advanced search button on mainpage.pl.

Test plan :
1) Go to intranet main page
2) Click on big button "Advanced search"
=> Without patch you go to item search /cgi-bin/koha/catalogue/itemsearch.pl
=> With patch you go to advanced search /cgi-bin/koha/catalogue/search.pl
Comment 13 Jonathan Druart 2021-08-19 08:00:34 UTC
Follow-up pushed to master.