projects
/
srvgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30fbc40
)
BUGFIX: we show the 1st page, that is numbered 0
author
Paul POULAIN
<paul@koha-fr.org>
Sun, 30 Sep 2007 20:22:35 +0000
(22:22 +0200)
committer
Chris Cormack
<crc@liblime.com>
Sun, 30 Sep 2007 21:03:45 +0000
(16:03 -0500)
Without this, the search in catalogue showed the # of results, but not the results !
Signed-off-by: Chris Cormack <crc@liblime.com>
cataloguing/addbooks.pl
patch
|
blob
|
history
diff --git
a/cataloguing/addbooks.pl
b/cataloguing/addbooks.pl
index
7efc178
..
e22556a
100755
(executable)
--- a/
cataloguing/addbooks.pl
+++ b/
cataloguing/addbooks.pl
@@
-87,8
+87,7
@@
if ($query) {
# format output
my $total = scalar @$marcresults;
- my @newresults = searchResults( $query, $total, $results_per_page, $page, @$marcresults );
-
+ my @newresults = searchResults( $query, $total, $results_per_page, $page-1, @$marcresults );
$template->param(
total => $total,
query => $query,