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

(-)a/C4/VirtualShelves.pm (-3 / +1 lines)
Lines 264-271 sub GetShelfContents { Link Here
264
        $sth2->execute($shelfnumber);
264
        $sth2->execute($shelfnumber);
265
        ($sortfield) = $sth2->fetchrow_array;
265
        ($sortfield) = $sth2->fetchrow_array;
266
    }
266
    }
267
  
267
    $sort_direction //= ''; 
268
    $sort_direction //= '';
269
    my $query =
268
    my $query =
270
       " SELECT DISTINCT vc.biblionumber, vc.shelfnumber, vc.dateadded, itemtypes.*,
269
       " SELECT DISTINCT vc.biblionumber, vc.shelfnumber, vc.dateadded, itemtypes.*,
271
            biblio.*, biblioitems.itemtype, biblioitems.publicationyear as year, biblioitems.publishercode, biblioitems.place, biblioitems.size, biblioitems.pages
270
            biblio.*, biblioitems.itemtype, biblioitems.publicationyear as year, biblioitems.publishercode, biblioitems.place, biblioitems.size, biblioitems.pages
272
- 

Return to bug 14551