Lines 919-932
$template->param(
Link Here
|
919 |
); |
919 |
); |
920 |
|
920 |
|
921 |
# Lists |
921 |
# Lists |
922 |
if (C4::Context->preference("virtualshelves") ) { |
922 |
if ( C4::Context->preference("virtualshelves") ) { |
923 |
my $shelves = Koha::Virtualshelves->search( |
923 |
my $shelves = Koha::Virtualshelves->get_shelves_containing_record( |
924 |
{ |
924 |
{ |
925 |
biblionumber => $biblionumber, |
925 |
biblionumber => $biblionumber, |
926 |
public => 1, |
926 |
borrowernumber => $borrowernumber, |
927 |
}, |
|
|
928 |
{ |
929 |
join => 'virtualshelfcontents', |
930 |
} |
927 |
} |
931 |
); |
928 |
); |
932 |
$template->param( shelves => $shelves ); |
929 |
$template->param( shelves => $shelves ); |
933 |
- |
|
|