From bcc45b3322ea6e82e74b3af511f1d8bf31a7986c Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 11 Aug 2006 19:20:05 +0000 Subject: [PATCH] fixed paging bug git-svn-id: svn://svn.open-ils.org/ILS/trunk@5476 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/js/result_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/skin/default/js/result_common.js b/Open-ILS/web/opac/skin/default/js/result_common.js index 18a6fb0ed4..a2adae1c81 100644 --- a/Open-ILS/web/opac/skin/default/js/result_common.js +++ b/Open-ILS/web/opac/skin/default/js/result_common.js @@ -298,7 +298,7 @@ function resultSuggestSpelling(r) { function resultPaginate() { var o = getOffset(); - if( !(( (o+1) + getDisplayCount()) >= getHitCount()) ) { + if( !( ((o) + getDisplayCount()) >= getHitCount()) ) { var args = {}; args[PARAM_OFFSET] = o + getDisplayCount(); -- 2.11.0