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

(-)a/C4/Search.pm (-1 / +1 lines)
Lines 391-397 sub getRecords { Link Here
391
                warn "Ignoring unrecognized sort '$sort' requested" if $sort_by;
391
                warn "Ignoring unrecognized sort '$sort' requested" if $sort_by;
392
            }
392
            }
393
        }
393
        }
394
        if ($sort_by) {
394
        if ($sort_by && !$scan) {
395
            if ( $results[$i]->sort( "yaz", $sort_by ) < 0 ) {
395
            if ( $results[$i]->sort( "yaz", $sort_by ) < 0 ) {
396
                warn "WARNING sort $sort_by failed";
396
                warn "WARNING sort $sort_by failed";
397
            }
397
            }
(-)a/catalogue/search.pl (-2 / +1 lines)
Lines 383-389 my @indexes; Link Here
383
@indexes = split("\0",$params->{'idx'});
383
@indexes = split("\0",$params->{'idx'});
384
384
385
# if a simple index (only one)  display the index used in the top search box
385
# if a simple index (only one)  display the index used in the top search box
386
if ($indexes[0] && !$indexes[1]) {
386
if ($indexes[0] && (!$indexes[1] || $params->{'scan'})) {
387
    $template->param("ms_".$indexes[0] => 1);}
387
    $template->param("ms_".$indexes[0] => 1);}
388
388
389
389
390
- 

Return to bug 4393