1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-16 14:50:48 +03:00

fix pagination #867

This commit is contained in:
Mzhelskiy Maxim 2017-03-24 10:19:54 +07:00
parent 006e246640
commit 69a5101ef5
2 changed files with 1 additions and 6 deletions

View file

@ -833,11 +833,6 @@ class ActionBlog extends Action
if (Config::Get('module.comment.use_nested') and Config::Get('module.comment.nested_per_page')) {
$aPaging = $this->Viewer_MakePaging($aReturn['count'], $iPage,
Config::Get('module.comment.nested_per_page'), Config::Get('pagination.pages.count'), '');
if (!Config::Get('module.comment.nested_page_reverse') and $aPaging) {
// переворачиваем страницы в обратном порядке
$aPaging['aPagesLeft'] = array_reverse($aPaging['aPagesLeft']);
$aPaging['aPagesRight'] = array_reverse($aPaging['aPagesRight']);
}
$this->Viewer_Assign('pagingComments', $aPaging);
}
/**

@ -1 +1 @@
Subproject commit 8f08d14613dc258ffc8bb34e355794a412f87ba4
Subproject commit c3b04d7992dc227971c8c0f9e1a46f21f3860c41