fixed paging bug
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Aug 2006 19:20:05 +0000 (19:20 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Aug 2006 19:20:05 +0000 (19:20 +0000)
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

index 18a6fb0..a2adae1 100644 (file)
@@ -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();