Bug 32434: Show "Lists" line on lists results
authorDavid Cook <dcook@prosentient.com.au>
Fri, 9 Dec 2022 03:28:12 +0000 (03:28 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 30 Jan 2023 18:09:03 +0000 (15:09 -0300)
commit1b1ab5c870cd8ddf503c518b39a49e8a9de5751d
tree429e8a2801b90f069caa5aef6d27149da296be04
parent909a3f5612340ec8eea7274f8182a7fd4743467f
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
opac/opac-shelves.pl