Merge branch 'pailei2_mayue_bug#6960' into 'pailei2'

* Fix bug #6960.

See merge request easycorp/zentaopms!2365
This commit is contained in:
李玉春
2022-03-18 03:28:53 +00:00
+1 -1
View File
@@ -2864,7 +2864,7 @@ class storyModel extends model
->beginIF($moduleIdList)->andWhere('t2.module')->in($moduleIdList)->fi()
->beginIF($status == 'unclosed')->andWhere('t2.status')->ne('closed')->fi()
->orderBy('t1.`order` desc')
->fetchAll();
->fetchAll('id');
return empty($stories) ? array() : $this->formatStories($stories, $type);
}