* Change max grade to max grade group.
This commit is contained in:
@@ -214,7 +214,7 @@ foreach($stories as $story)
|
||||
{
|
||||
$story->rawModule = $story->module;
|
||||
$options['branches'] = zget($branchOptions, $story->product, array());
|
||||
$data[] = $this->story->formatStoryForList($story, $options, $storyType, $maxGrade);
|
||||
$data[] = $this->story->formatStoryForList($story, $options, $storyType, $maxGradeGroup);
|
||||
}
|
||||
|
||||
/* Generate toolbar of DataTable footer. */
|
||||
|
||||
@@ -1473,7 +1473,7 @@ class productZen extends product
|
||||
$this->view->showGrade = count($gradeGroup[$storyType]) > 2;
|
||||
$this->view->gradeMenu = $this->loadModel('story')->getGradeMenu($storyType, $project);
|
||||
$this->view->gradePairs = $this->story->getGradePairs($storyType);
|
||||
$this->view->maxGrade = $this->story->getMaxGrade($storyType);
|
||||
$this->view->maxGradeGroup = $this->story->getMaxGradeGroup();
|
||||
$this->view->storyType = $storyType;
|
||||
$this->view->browseType = $browseType;
|
||||
$this->view->isProjectStory = $isProjectStory;
|
||||
|
||||
Reference in New Issue
Block a user