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