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

(-)a/opac/opac-shelves.pl (-2 / +2 lines)
Lines 274-280 if ( $op eq 'view' ) { Link Here
274
            my $contents = $shelf->get_contents->search(
274
            my $contents = $shelf->get_contents->search(
275
                {},
275
                {},
276
                {
276
                {
277
                    prefetch => [ { 'biblionumber' => { 'biblioitems' => 'items' } } ],
277
                    distinct => 'biblionumber',
278
                    join     => [ { 'biblionumber' => { 'biblioitems' => 'items' } } ],
278
                    page     => $page,
279
                    page     => $page,
279
                    rows     => $rows,
280
                    rows     => $rows,
280
                    order_by => { "-$direction" => $order_by },
281
                    order_by => { "-$direction" => $order_by },
281
- 

Return to bug 28561