Bug 32434

Summary: Records in lists not showing what other lists they belong to
Product: Koha Reporter: David Cook <dcook>
Component: ListsAssignee: David Cook <dcook>
Status: CLOSED FIXED QA Contact: Kyle M Hall (khall) <kyle>
Severity: enhancement    
Priority: P5 - low CC: kyle, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Small patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
23.05.00
Circulation function:
Attachments: Bug 32434: Show "Lists" line on lists results
Bug 32434: Show "Lists" line on lists results
Bug 32434: Show "Lists" line on lists results

Description David Cook 2022-12-09 03:22:09 UTC
In the search results, a bib record shows what lists the record belongs to.

However, in lists, a bib record does not show what lists the record belongs to.

I've had librarians asking for this and it's a simple enough change to make.
Comment 1 David Cook 2022-12-09 03:30:32 UTC Comment hidden (obsolete)
Comment 2 Marcel de Rooy 2022-12-09 07:15:45 UTC Comment hidden (obsolete)
Comment 3 Kyle M Hall (khall) 2023-01-20 16:18:13 UTC
Created attachment 145534 [details] [review]
Bug 32434: Show "Lists" line on lists results

This patch adds a "Lists:" line on the lists results so that the
output matches the search result output.

This allows users to know which records belong to which lists.

Test plan:
0. Apply patch and koha-plack --restart kohadev
1. Go to http://localhost:8080/cgi-bin/koha/opac-search.pl?idx=&q=test
2. Add all 3 results to a new list called "Test"
3. Note that "Lists:" appears in the search results
4. Click on "Test" in the "Lists:" line
5. Note that it takes you to the list "Test" and that "Lists:"
still appears in the results

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 4 Tomás Cohen Arazi (tcohen) 2023-01-30 18:10:58 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!