* [bug] fix plan story order.

This commit is contained in:
sunguangming
2024-09-29 17:24:23 +08:00
committed by 王怡栋
parent 9cb89fd9b6
commit e25af9369a
+6 -1
View File
@@ -444,6 +444,11 @@ class productplanZen extends productplan
/* 对需求重新按照父子关系排序,保证进入需求详情后上一页下一页的URL符合预期。 */
$objectList = $this->loadModel('story')->reorderStories($stories);
if($objectList) $this->session->set('storyBrowseList', array('sql' => $sql, 'idkey' => 'id', 'objectList' => $objectList), $this->app->tab);
if($objectList)
{
$this->session->set('storyBrowseList', array('sql' => $sql, 'idkey' => 'id', 'objectList' => $objectList), $this->app->tab);
$this->session->set('epicBrowseList', array('sql' => $sql, 'idkey' => 'id', 'objectList' => $objectList), $this->app->tab);
$this->session->set('requirementBrowseList', array('sql' => $sql, 'idkey' => 'id', 'objectList' => $objectList), $this->app->tab);
}
}
}