* Finish task#61184,61183,61172
This commit is contained in:
@@ -393,8 +393,22 @@ class productplan extends control
|
||||
return print(js::error($this->lang->notFound) . js::locate($this->createLink('product', 'index')));
|
||||
}
|
||||
|
||||
$this->session->set('storyList', $this->createLink('productplan', 'view', "planID=$planID&type=story"), 'product');
|
||||
$this->session->set('bugList', $this->createLink('productplan', 'view', "planID=$planID&type=bug"), 'qa');
|
||||
if($type == 'story' and ($orderBy != 'order_desc' or $pageID != 1 or $recPerPage != 100))
|
||||
{
|
||||
$this->session->set('storyList', $this->app->getURI(true), 'product');
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->session->set('storyList', $this->createLink('productplan', 'view', "planID=$planID&type=story"), 'product');
|
||||
}
|
||||
if($type == 'bug' and ($orderBy != 'order_desc' or $pageID != 1 or $recPerPage != 100))
|
||||
{
|
||||
$this->session->set('bugList', $this->app->getURI(true), 'qa');
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->session->set('bugList', $this->createLink('productplan', 'view', "planID=$planID&type=bug"), 'qa');
|
||||
}
|
||||
|
||||
/* Determines whether an object is editable. */
|
||||
$canBeChanged = common::canBeChanged('plan', $plan);
|
||||
|
||||
Reference in New Issue
Block a user