diff --git a/module/product/model.php b/module/product/model.php index 9647f9915e..88acf5757b 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -994,7 +994,7 @@ class productModel extends model $allCount = 0; foreach($stories as $key => $story) { - if($story->type != $storyType) continue; + if(!empty($story->type) && $story->type != $storyType) continue; $totalEstimate += $story->estimate; /* When the status is not closed or closedReason is done or postponed then add cases rate..*/ diff --git a/module/productplan/view/view.html.php b/module/productplan/view/view.html.php index 66a3d73648..54ab7f2bfb 100644 --- a/module/productplan/view/view.html.php +++ b/module/productplan/view/view.html.php @@ -341,7 +341,7 @@ -
+ app->rawParams['type'] = 'story'; $storyPager->show('right', 'pagerjs'); @@ -420,7 +420,7 @@ productplan->batchUnlink, '', 'btn');?> -