diff --git a/module/productplan/control.php b/module/productplan/control.php index 8baabf9814..2e029f1e84 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -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'); diff --git a/module/productplan/model.php b/module/productplan/model.php index 1cd71b792a..9e845de41b 100644 --- a/module/productplan/model.php +++ b/module/productplan/model.php @@ -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();