diff --git a/code/extensions/CommentsExtension.php b/code/extensions/CommentsExtension.php index 6208e75..4512637 100644 --- a/code/extensions/CommentsExtension.php +++ b/code/extensions/CommentsExtension.php @@ -75,7 +75,10 @@ class CommentsExtension extends DataExtension { $this->ownerBaseClass, 'comments_per_page' )); + $controller = Controller::curr(); + $list->setPageStart($controller->request->getVar("commentsstart". $this->owner->ID)); $list->setPaginationGetVar("commentsstart". $this->owner->ID); + $list->MoreThanOnePage(); return $list; }