View | Details | Raw Unified | Return to bug 29621
Collapse All | Expand All

(-)a/opac/opac-detail.pl (-10 / +6 lines)
Lines 920-934 $template->param( Link Here
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
        },
927
                }
928
        {
928
            );
929
            join => 'virtualshelfcontents',
930
        }
931
    );
932
    $template->param( shelves => $shelves );
929
    $template->param( shelves => $shelves );
933
}
930
}
934
931
935
- 

Return to bug 29621