[ 831784 ] Pagination in Messeboard with multiple boards
This commit is contained in:
parent
46bb4e9c0a
commit
77f6008043
2 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
- Added Apache 2 instructions to install.txt. (Thanks to Andy Grundman.)
|
- Added Apache 2 instructions to install.txt. (Thanks to Andy Grundman.)
|
||||||
- Fixed bug [ 831628 ] Subscription notifications sent in wrong language.
|
- Fixed bug [ 831628 ] Subscription notifications sent in wrong language.
|
||||||
- Fixed bug [ 828071 ] USS doubles the number of replies
|
- Fixed bug [ 828071 ] USS doubles the number of replies
|
||||||
|
- Fixed bug [ 831784 ] Pagination in Messeboard with multiple boards
|
||||||
|
|
||||||
5.5.0
|
5.5.0
|
||||||
- Rewrote the discussion system and added many new features in the process.
|
- Rewrote the discussion system and added many new features in the process.
|
||||||
|
|
|
||||||
|
|
@ -1054,7 +1054,7 @@ sub getForumTemplateVars {
|
||||||
} else {
|
} else {
|
||||||
$query .= "lastPostDate desc";
|
$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);
|
$p->setDataByQuery($query);
|
||||||
$var{firstPage} = $p->getFirstPageLink;
|
$var{firstPage} = $p->getFirstPageLink;
|
||||||
$var{lastPage} = $p->getLastPageLink;
|
$var{lastPage} = $p->getLastPageLink;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue