diff --git a/api/v1/entries/productissue.php b/api/v1/entries/productissue.php index 176a92ed7f..42e9b8ff28 100644 --- a/api/v1/entries/productissue.php +++ b/api/v1/entries/productissue.php @@ -34,7 +34,7 @@ class productIssueEntry extends entry { case 'story': $this->app->loadLang('story'); - $storyStatus = array('' => '', 'draft' => 'opened', 'active' => 'opened', 'changed' => 'opened', 'closed' => 'closed'); + $storyStatus = array('' => '', 'draft' => 'opened', 'reviewing' => 'opened', 'active' => 'opened', 'changing' => 'opened', 'closed' => 'closed'); $story = $this->dao->select('*')->from(TABLE_STORY)->where('id')->eq($id)->fetch(); if(!$story) $this->send404(); diff --git a/api/v1/entries/productissues.php b/api/v1/entries/productissues.php index 474a61c5c2..809e6ba0bf 100644 --- a/api/v1/entries/productissues.php +++ b/api/v1/entries/productissues.php @@ -30,7 +30,7 @@ class productIssuesEntry extends entry $storyFields = 'id,status'; $storyStatus = array('' => ''); - $storyStatus['opened'] = 'draft,active,changed'; + $storyStatus['opened'] = 'draft,reviewing,active,changing'; $storyStatus['closed'] = 'closed'; $bugFields = 'id,status'; diff --git a/api/v1/entries/reports.php b/api/v1/entries/reports.php index 4f7d14a273..fbd15ecaf7 100644 --- a/api/v1/entries/reports.php +++ b/api/v1/entries/reports.php @@ -273,7 +273,7 @@ class reportsEntry extends entry } /* Set story status statistics integrate into product. */ - $storyStatusList = array('draft' => array(), 'active' => array(), 'changed' => array(), 'closed' => array()); + $storyStatusList = array('draft' => array(), 'reviewing' => array(), 'active' => array(), 'changing' => array(), 'closed' => array()); foreach($processedProducts as $productID => $product) { $product->storyStat = array();