* finish task #3289.

This commit is contained in:
wangyidong
2017-11-02 14:28:02 +08:00
parent 5c1ef6e4f2
commit 99bd7ed909
6 changed files with 33 additions and 28 deletions
+1
View File
@@ -2314,6 +2314,7 @@ class projectModel extends model
->leftJoin(TABLE_STORY)->alias('t2')->on('t1.story = t2.id')
->where('t1.project')->eq((int)$projectID)
->andWhere('t2.deleted')->eq(0)
->orderBy('t1.`order`_desc')
->fetchAll();
$storyGroups = array();
foreach($stories as $story) $storyGroups[$story->product][$story->module][$story->id] = $story;