Bug 37006

Summary: Highlight items available at my loggedinlibrary
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: SearchingAssignee: Lucas Gass (lukeg) <lucas>
Status: Patch doesn't apply --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: angela.berrett, david, Laura.escamilla
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
This enhancement to the staff interface search results highlights items available at the logged in library.
Version(s) released in:
Circulation function:
Bug Depends on: 37004    
Bug Blocks:    
Attachments: Bug 37006: Highlight items that belong to the logged in branch
Bug 37006: Highlight items that belong to the logged in branch
Screenshot - logged in library highlighting example

Description Lucas Gass (lukeg) 2024-05-31 22:03:44 UTC
It would be nice if items at the logged in library were highlighted in the search results "Location column".
Comment 1 Lucas Gass (lukeg) 2024-05-31 22:07:50 UTC
Created attachment 167320 [details] [review]
Bug 37006: Highlight items that belong to the logged in branch

To test:
1. Apply patch and regenerate CSS. (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface)
2. Do a catalog search.
3. Notice that items from the logged in branch are highlighted in beige.
4. Flip the noItemTypeImages system preference and make sure this still works.
Comment 2 David Nind 2024-06-01 21:20:34 UTC
Created attachment 167323 [details] [review]
Bug 37006: Highlight items that belong to the logged in branch

To test:
1. Apply patch and regenerate CSS. (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface)
2. Do a catalog search.
3. Notice that items from the logged in branch are highlighted in beige.
4. Flip the noItemTypeImages system preference and make sure this still works.

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 David Nind 2024-06-01 21:22:15 UTC
Created attachment 167324 [details]
Screenshot - logged in library highlighting example

A screenshot of how the highlighting looks.
Comment 4 Angela Berrett 2024-06-03 20:10:15 UTC
+1.  I love the screenshot example.  Would love to see this!
Comment 5 Laura Escamilla 2024-09-19 14:58:03 UTC
Applying: Bug 37006: Highlight items that belong to the logged in branch
error: sha1 information is lacking or useless (koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt).
error: could not build fake ancestor
Patch failed at 0001 Bug 37006: Highlight items that belong to the logged in branch
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem run "git bz apply --continue".
If you would prefer to skip this patch, instead run "git bz apply --skip".
To restore the original branch and stop patching run "git bz apply --abort".
Patch left in /tmp/Bug-37006-Highlight-items-that-belong-to-the-logge-hwh1q0bl.patch