projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c9bc3e
)
BugFix : authorities resultlist display was missing one item on end of list.
author
Henri-Damien LAURENT
<henridamien@koha-fr.org>
Wed, 19 Dec 2007 18:29:05 +0000
(12:29 -0600)
committer
Joshua Ferraro
<jmf@liblime.com>
Thu, 20 Dec 2007 00:55:03 +0000
(18:55 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/AuthoritiesMarc.pm
patch
|
blob
|
history
diff --git
a/C4/AuthoritiesMarc.pm
b/C4/AuthoritiesMarc.pm
index
43c663f
..
3da0b70
100644
(file)
--- a/
C4/AuthoritiesMarc.pm
+++ b/
C4/AuthoritiesMarc.pm
@@
-162,7
+162,7
@@
sub SearchAuthorities {
}
}
# limit the $results_per_page to result size if it's more
- $length = $numbers-
1-
$offset if $numbers < ($offset+$length);
+ $length = $numbers-$offset if $numbers < ($offset+$length);
# for the requested page, replace authid by the complete record
# speed improvement : avoid reading too much things
my @finalresult;