]> git.koha-community.org Git - koha.git/commit
kohabug 2437 Corrects LIMIT offset algorithm
authorChris Nighswonger <chris.nighswonger@liblime.com>
Mon, 4 Aug 2008 15:15:20 +0000 (10:15 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 4 Aug 2008 20:26:51 +0000 (15:26 -0500)
commit606f72b97ac415ed2e135378e6c292b15a77ab36
treea328edc6a17e5795f6101696e975d00d02077fd5
parent953a46a0888b38a3c34e1f01ee1a0e420d904273
kohabug 2437 Corrects LIMIT offset algorithm

Because of a miscalculation in the offset algorithm, the LIMIT offset creeps
backwards by a magnitude for every page beyond page two. This patch corrects
the algorithm to behave as expected.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/VirtualShelves/Page.pm