diff --git a/docs/changelog/5.x.x.txt b/docs/changelog/5.x.x.txt index 1991e9f5c..eb273d1a0 100644 --- a/docs/changelog/5.x.x.txt +++ b/docs/changelog/5.x.x.txt @@ -3,6 +3,7 @@ - Added Apache 2 instructions to install.txt. (Thanks to Andy Grundman.) - Fixed bug [ 831628 ] Subscription notifications sent in wrong language. - Fixed bug [ 828071 ] USS doubles the number of replies + - Fixed bug [ 831784 ] Pagination in Messeboard with multiple boards 5.5.0 - Rewrote the discussion system and added many new features in the process. diff --git a/lib/WebGUI/Forum/UI.pm b/lib/WebGUI/Forum/UI.pm index 1ce267289..dc4dda3e9 100644 --- a/lib/WebGUI/Forum/UI.pm +++ b/lib/WebGUI/Forum/UI.pm @@ -1054,7 +1054,7 @@ sub getForumTemplateVars { } else { $query .= "lastPostDate desc"; } - my $p = WebGUI::Paginator->new($callback,"",$forum->get("postsPerPage")); + my $p = WebGUI::Paginator->new(WebGUI::URL::append($callback,"forumOp=viewForum&forumId=".$forum->get("forumId")),"",$forum->get("postsPerPage")); $p->setDataByQuery($query); $var{firstPage} = $p->getFirstPageLink; $var{lastPage} = $p->getLastPageLink;