Lines 655-660
for (my $i=0;$i<@servers;$i++) {
Link Here
|
655 |
} |
655 |
} |
656 |
} |
656 |
} |
657 |
} |
657 |
} |
|
|
658 |
|
659 |
## If there's just one result, check if it is hidden |
660 |
## before trying to redirect. The biblionumber will |
661 |
## be undefined for a hidden result. |
662 |
if ($total == 1 && ! defined($newresults[0]->{biblionumber})) { |
663 |
$hits = 0; |
664 |
$total = 0; |
665 |
} |
666 |
|
658 |
## If there's just one result, redirect to the detail page |
667 |
## If there's just one result, redirect to the detail page |
659 |
if ($total == 1 && $format ne 'rss2' |
668 |
if ($total == 1 && $format ne 'rss2' |
660 |
&& $format ne 'opensearchdescription' && $format ne 'atom') { |
669 |
&& $format ne 'opensearchdescription' && $format ne 'atom') { |
661 |
- |
|
|