diff --git a/module/story/model.php b/module/story/model.php index fcc5d9abbc..04b6e22d90 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -2979,7 +2979,7 @@ class storyModel extends model ->beginIF($moduleIdList)->andWhere('t2.module')->in($moduleIdList)->fi() ->beginIF($status == 'unclosed')->andWhere('t2.status')->ne('closed')->fi() ->beginIF($status == 'review')->andWhere('t2.status')->in('draft,changed')->fi() - ->orderBy('t1.`order` desc') + ->orderBy('t1.`order` desc, t1.`story` desc') ->fetchAll('id'); return empty($stories) ? array() : $this->formatStories($stories, $type); }