From 69a5101ef53ab5442610b7a67d994fc9e0c710fc Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Fri, 24 Mar 2017 10:19:54 +0700 Subject: [PATCH] fix pagination #867 --- application/classes/actions/ActionBlog.class.php | 5 ----- framework | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/application/classes/actions/ActionBlog.class.php b/application/classes/actions/ActionBlog.class.php index 15171d6c..ee8359bc 100644 --- a/application/classes/actions/ActionBlog.class.php +++ b/application/classes/actions/ActionBlog.class.php @@ -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); } /** diff --git a/framework b/framework index 8f08d146..c3b04d79 160000 --- a/framework +++ b/framework @@ -1 +1 @@ -Subproject commit 8f08d14613dc258ffc8bb34e355794a412f87ba4 +Subproject commit c3b04d7992dc227971c8c0f9e1a46f21f3860c41