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

(-)a/C4/VirtualShelves/Page.pm (-2 / +1 lines)
Lines 258-264 sub shelfpage { Link Here
258
                if ( $sortfield eq 'year' ) {
258
                if ( $sortfield eq 'year' ) {
259
                    $yearsort = 'year';
259
                    $yearsort = 'year';
260
                }
260
                }
261
                ( $items, $totitems ) = GetShelfContents( $shelfnumber, $shelflimit, $shelfoffset );
261
                ( $items, $totitems ) = GetShelfContents( $shelfnumber, $shelflimit, $shelfoffset, $sortfield eq 'year' ? 'copyrightdate' : $sortfield );
262
                for my $this_item (@$items) {
262
                for my $this_item (@$items) {
263
                    my $biblionumber = $this_item->{'biblionumber'};
263
                    my $biblionumber = $this_item->{'biblionumber'};
264
                    my $record = GetMarcBiblio($biblionumber);
264
                    my $record = GetMarcBiblio($biblionumber);
265
- 

Return to bug 8323