From: erickson Date: Fri, 11 Aug 2006 19:20:05 +0000 (+0000) Subject: fixed paging bug X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bcc45b3322ea6e82e74b3af511f1d8bf31a7986c;p=evergreen%2Fpines.git fixed paging bug git-svn-id: svn://svn.open-ils.org/ILS/trunk@5476 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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();