@@ -, +, @@ --- opac/opac-shelves.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/opac/opac-shelves.pl +++ a/opac/opac-shelves.pl @@ -272,7 +272,8 @@ if ( $op eq 'view' ) { my $contents = $shelf->get_contents->search( {}, { - prefetch => [ { 'biblionumber' => { 'biblioitems' => 'items' } } ], + distinct => 'biblionumber', + join => [ { 'biblionumber' => { 'biblioitems' => 'items' } } ], page => $page, rows => $rows, order_by => { "-$direction" => $order_by }, --