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

(-)a/virtualshelves/shelves.pl (-2 / +3 lines)
Lines 276-282 if ( $op eq 'view' ) { Link Here
276
            my $direction = $query->param('direction') || 'asc';
276
            my $direction = $query->param('direction') || 'asc';
277
            $direction = 'asc' if $direction ne 'asc' and $direction ne 'desc';
277
            $direction = 'asc' if $direction ne 'asc' and $direction ne 'desc';
278
            my $rows;
278
            my $rows;
279
            unless ( $query->param('print') ) {
279
            if ( $query->param('print') ) {
280
                $page="";
281
            } else {
280
                $rows = C4::Context->preference('numSearchResults') || 20;
282
                $rows = C4::Context->preference('numSearchResults') || 20;
281
            }
283
            }
282
284
283
- 

Return to bug 37285