| 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 | -  |  |  |