* task#980, when change and edit a story, place product owners at first.

This commit is contained in:
wangchunsheng
2012-12-16 01:46:51 +00:00
parent 04d5809cfe
commit c9bb6bc9f0

View File

@@ -225,7 +225,7 @@ class story extends control
$story = $this->story->getById($storyID);
$product = $this->product->getById($story->product);
$products = $this->product->getPairs();
$users = $this->user->getPairs('nodeleted');
$users = $this->user->getPairs('nodeleted|pofirst');
$moduleOptionMenu = $this->tree->getOptionMenu($product->id, $viewType = 'story');
/* Set menu. */
@@ -270,7 +270,7 @@ class story extends control
/* Assign. */
$this->view->header->title = $this->view->product->name . $this->lang->colon . $this->lang->story->edit . $this->lang->colon . $this->view->story->title;
$this->view->position[] = $this->lang->story->edit;
$this->view->users = $this->user->appendDeleted($this->user->getPairs('nodeleted'), $this->view->story->assignedTo);
$this->view->users = $this->user->appendDeleted($this->user->getPairs('nodeleted|pofirst'), $this->view->story->assignedTo);
$this->view->story = $this->story->getById($storyID, 0, true);
$this->display();
}