Fix for BUG 1653
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
f64dbb239f
commit
6bf61aa64f
1 changed files with 4 additions and 0 deletions
|
@ -560,6 +560,10 @@ for (my $i=0;$i<=@servers;$i++) {
|
|||
previous_page_offset => $previous_page_offset) unless $pages < 2;
|
||||
$template->param(next_page_offset => $next_page_offset) unless $pages eq $current_page_number;
|
||||
}
|
||||
else {
|
||||
# Here we must handle cases where no results are returned otherwise the template gives a malformed message. -fbcit
|
||||
$template->param(query_desc => $query_desc);
|
||||
}
|
||||
} # end of the if local
|
||||
else {
|
||||
# check if it's a z3950 or opensearch source
|
||||
|
|
Loading…
Reference in a new issue