projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f64dbb2
)
Fix for BUG 1653
author
Chris Nighswonger
<cnighswonger@foundations.edu>
Thu, 13 Dec 2007 22:59:09 +0000
(17:59 -0500)
committer
Joshua Ferraro
<jmf@liblime.com>
Thu, 13 Dec 2007 23:27:13 +0000
(17:27 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
opac/opac-search.pl
patch
|
blob
|
history
diff --git
a/opac/opac-search.pl
b/opac/opac-search.pl
index
58fc3f5
..
fb0e46d
100755
(executable)
--- a/
opac/opac-search.pl
+++ b/
opac/opac-search.pl
@@
-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