Bug 40143: Added links to private lists in bibliographic record detail page in OPAC
Test Plan:
1. In OPAC create a public list, add a book to the list.
2. Notice a link to the list on the biblio's detail page.
3. Create a private list and add the book to it. Notice there is no link to the list in the details page.
4. Apply patch, restart_all
5. Notice there is now a link to the private list
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 9517a57ee2)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
335b348468
commit
706830d120
|
|
@ -975,7 +975,10 @@ if ( C4::Context->preference("virtualshelves") ) {
|
|||
my $shelves = Koha::Virtualshelves->search(
|
||||
{
|
||||
biblionumber => $biblionumber,
|
||||
public => 1,
|
||||
'-or' => {
|
||||
public => 1,
|
||||
owner => $borrowernumber
|
||||
}
|
||||
},
|
||||
{
|
||||
join => 'virtualshelfcontents',
|
||||
|
|
|
|||
Loading…
Reference in New Issue