Bug 39238: Add links toward private lists in biblio
TEST PLAN: 1 - Create a public list, add a book in the list 2 - Notice there is a link on biblio's details on the intranet 3 - Add the book in a private list, notice there is no link on biblio's details 4 - Apply patch 5 - Notice there is now a link to the list Signed-off-by: Karolina Sumara <karolettaeska@gmail.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
7ee729af4d
commit
0473abdd62
|
|
@ -450,7 +450,10 @@ if ( C4::Context->preference("virtualshelves") ) {
|
|||
my $shelves = Koha::Virtualshelves->search(
|
||||
{
|
||||
biblionumber => $biblionumber,
|
||||
public => 1,
|
||||
'-or' => {
|
||||
public => 1,
|
||||
owner => $patron->borrowernumber
|
||||
}
|
||||
},
|
||||
{
|
||||
join => 'virtualshelfcontents',
|
||||
|
|
|
|||
Loading…
Reference in New Issue