| Lines 272-278
          if ( $op eq 'view' ) {
      
      
        Link Here | 
        
          | 272 |             my $contents = $shelf->get_contents->search( | 272 |             my $contents = $shelf->get_contents->search( | 
        
          | 273 |                 {}, | 273 |                 {}, | 
        
          | 274 |                 { | 274 |                 { | 
          
            
              | 275 |                     prefetch => [ { 'biblionumber' => { 'biblioitems' => 'items' } } ], | 275 |                     distinct => 'biblionumber', | 
            
              |  |  | 276 |                     join     => [ { 'biblionumber' => { 'biblioitems' => 'items' } } ], | 
        
          | 276 |                     page     => $page, | 277 |                     page     => $page, | 
        
          | 277 |                     rows     => $rows, | 278 |                     rows     => $rows, | 
        
          | 278 |                     order_by => { "-$direction" => $order_by }, | 279 |                     order_by => { "-$direction" => $order_by }, | 
            
              | 279 | -  |  |  |