From: zapata Date: Sun, 2 Mar 2003 04:36:31 +0000 (+0000) Subject: fixed a bug which prevented page navigation past the 2nd page of a list of articles X-Git-Tag: BEFORE_MERGE_1_1~249 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=f542c1f7b84753d7831f686fa2dbaf6a8f1401be;p=mir.git fixed a bug which prevented page navigation past the 2nd page of a list of articles --- diff --git a/source/mircoders/servlet/ServletModuleContent.java b/source/mircoders/servlet/ServletModuleContent.java index cc317f84..0706c55c 100755 --- a/source/mircoders/servlet/ServletModuleContent.java +++ b/source/mircoders/servlet/ServletModuleContent.java @@ -72,7 +72,7 @@ import freemarker.template.SimpleHash; * ServletModuleContent - * deliver html for the article admin form. * - * @version $Id: ServletModuleContent.java,v 1.35 2003/02/28 18:27:08 idfx Exp $ + * @version $Id: ServletModuleContent.java,v 1.36 2003/03/02 04:36:31 zapata Exp $ * @author rk, mir-coders * */ @@ -451,7 +451,7 @@ public class ServletModuleContent extends ServletModule responseData.put("thisurl" , urlBuilder.getQuery()); if (count>=anOffset+nrArticlesPerPage) { - urlBuilder.setValue("offset", anOffset + nrArticlesPerPage); + urlBuilder.setValue("offset", (anOffset + nrArticlesPerPage)); responseData.put("nexturl" , urlBuilder.getQuery()); }