Bug 37006 - Highlight items available at my loggedinlibrary
Summary: Highlight items available at my loggedinlibrary
Status: Patch doesn't apply
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Lucas Gass (lukeg)
QA Contact: Testopia
URL:
Keywords:
Depends on: 37004
Blocks:
  Show dependency treegraph
 
Reported: 2024-05-31 22:03 UTC by Lucas Gass (lukeg)
Modified: 2024-09-19 14:58 UTC (History)
3 users (show)

See Also:
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:


Attachments
Bug 37006: Highlight items that belong to the logged in branch (4.12 KB, patch)
2024-05-31 22:07 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 37006: Highlight items that belong to the logged in branch (4.17 KB, patch)
2024-06-01 21:20 UTC, David Nind
Details | Diff | Splinter Review
Screenshot - logged in library highlighting example (45.90 KB, image/png)
2024-06-01 21:22 UTC, David Nind
Details

Note You need to log in before you can comment on or make changes to this bug.
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