diff --git a/extension/lite/product/ext/control/browse.php b/extension/lite/product/ext/control/browse.php index 7fcc313b0d..fd021e27e7 100644 --- a/extension/lite/product/ext/control/browse.php +++ b/extension/lite/product/ext/control/browse.php @@ -90,6 +90,7 @@ class product extends control $product = $this->product->getById($productID); /* Get stories. */ + if($browseType == 'reviewing') $browseType = 'reviewingstory'; $stories = $this->product->getStories($productID, $branchID, $browseType, $queryID, $moduleID, $storyType, $sort, $pager); /* Display status of branch. */ diff --git a/extension/lite/product/ext/view/browse.html.php b/extension/lite/product/ext/view/browse.html.php index 2a08521f61..3f8207045a 100644 --- a/extension/lite/product/ext/view/browse.html.php +++ b/extension/lite/product/ext/view/browse.html.php @@ -39,6 +39,7 @@ js::set('rawModule', $this->app->rawModule); js::set('productType', $this->app->tab == 'product' ? $product->type : ''); js::set('projectHasProduct', $projectHasProduct); js::set('URAndSR', $this->config->URAndSR); +js::set('vision', $this->config->vision); ?>