* Change max grade to max grade group.

This commit is contained in:
sunguangming
2024-05-06 10:33:18 +08:00
parent fd73a8aeaf
commit 51e4fb7e90
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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. */
+1 -1
View File
@@ -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;