* Finish task#61184,61183,61172

This commit is contained in:
zenggang
2022-07-19 00:51:32 +00:00
parent ee7479b9d5
commit cabaedd234
2 changed files with 42 additions and 2 deletions
+16 -2
View File
@@ -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);