[Koha-bugs] [Bug 29621] Add link for Lists on opac-detail.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 6 18:12:38 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29621

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #128247|0                           |1
        is obsolete|                            |

--- Comment #4 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 128282
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128282&action=edit
Bug 29621: Add link for Lists on opac-detail.pl

When logged into the OPAC and viewing a results list of titles on
opac-search.pl it is possible to see if a title is contained in a List.
The link allows the user to click on it to get to the contents of the
List.  It would be helpful if the link for the List was also displayed
on opac-detail.pl so the user could get to the results of the List
from that page as well.

This patch uses Koha::Virtualshelves->get_shelves_containing_record()
in opac detail page like it is used in opac results page.

Test plan :
1) Connect to OPAC as user U1
2) Create a public and a private list
3) Add a record B1 to both lists
4) Go to opac detail page of record B1
5) Without patch your see only link to public list, with patch you also
   see link to private list
6) Connect to OPAC as another user U2
7) Add record B1 to a private list
8) Go to opac detail page of record B1
9) With patch, check you see only link to your private list, not to list
   of user U1

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list