DO NOT return if SimpleSearch give no result, we need to check reservoir too
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
5f43dddef5
commit
289e8f445e
1 changed files with 0 additions and 7 deletions
|
@ -77,13 +77,6 @@ if ($query) {
|
|||
exit;
|
||||
}
|
||||
|
||||
if(not defined $marcresults){
|
||||
$template->param(query => $query);
|
||||
warn "no result found";
|
||||
output_html_with_http_headers $input, $cookie, $template->output;
|
||||
exit;
|
||||
}
|
||||
|
||||
# format output
|
||||
my $total = scalar @$marcresults;
|
||||
my @newresults = searchResults( $query, $total, $results_per_page, $page-1, @$marcresults );
|
||||
|
|
Loading…
Reference in a new issue