* [misc] fix plan order error.
This commit is contained in:
@@ -584,7 +584,7 @@ class productplan extends control
|
||||
$this->productplan->linkStory($planID, $this->post->stories);
|
||||
if(dao::isError()) return $this->sendError(dao::getError());
|
||||
|
||||
return $this->send(array('result' => 'success', 'load' => inlink('view', "planID=$planID&type=story&orderBy=$orderBy")));
|
||||
return $this->send(array('result' => 'success', 'load' => inlink('view', "planID=$planID&type=story&orderBy=order_desc")));
|
||||
}
|
||||
|
||||
$this->session->set('storyList', inlink('view', "planID=$planID&type=story&orderBy=$orderBy&link=true¶m=" . helper::safe64Encode("&browseType=$browseType&queryID=$param")), 'product');
|
||||
|
||||
@@ -890,7 +890,6 @@ class productplanModel extends model
|
||||
$this->story->setStage($storyID);
|
||||
}
|
||||
|
||||
$this->productplanTao->syncLinkedStories($planID, $storyIdList, false);
|
||||
$this->action->create('productplan', $planID, 'linkstory', '', implode(',', $storyIdList));
|
||||
|
||||
return !dao::isError();
|
||||
|
||||
Reference in New Issue
Block a user