From a890c2407773468d6749fe9f6288800a468cd1f7 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Fri, 7 Aug 2020 17:31:38 +0800 Subject: [PATCH] * Finish task #7614. --- module/productplan/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/productplan/control.php b/module/productplan/control.php index bd36167615..6e782c3e99 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -266,8 +266,8 @@ class productplan extends control $this->commonAction($plan->product, $plan->branch); $products = $this->product->getPairs(); - $bugPager = new pager($type == 'bug' ? $recTotal : 0, $recPerPage, $type == 'bug' ? $pageID : 1); - $storyPager = new pager($type == 'story' ? $recTotal : 0, $recPerPage, $type == 'story' ? $pageID : 1); + $bugPager = new pager(0, $recPerPage, $type == 'bug' ? $pageID : 1); + $storyPager = new pager(0, $recPerPage, $type == 'story' ? $pageID : 1); $planStories = $this->loadModel('story')->getPlanStories($planID, 'all', $type == 'story' ? $sort : 'id_desc', $storyPager); if($reSort) {