From f521758c05ff50658de5ad3ee2a1aa1b295e1f11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=97=AD=E4=B8=9C?= Date: Thu, 24 Feb 2022 00:34:56 +0000 Subject: [PATCH] Update control.php --- module/productplan/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/productplan/control.php b/module/productplan/control.php index 9dafbd8c6f..100e743442 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -407,6 +407,7 @@ class productplan extends control $this->view->storyPager = $storyPager; $this->view->bugPager = $bugPager; $this->view->canBeChanged = $canBeChanged; + if($this->app->getViewType() == 'json') { unset($this->view->storyPager);