diff --git a/module/story/control.php b/module/story/control.php index e56f2e885d..f8866ac8cf 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -1359,6 +1359,9 @@ class story extends control $this->product->setMenu($products, $productID, $branch); } + /* Save session. */ + $this->session->set('storyList', $this->app->getURI(true)); + /* Load pager and get tracks. */ $this->app->loadClass('pager', $static = true); $pager = new pager($recTotal, $recPerPage, $pageID); diff --git a/module/story/view/track.html.php b/module/story/view/track.html.php index f20543da33..7bfdf74631 100644 --- a/module/story/view/track.html.php +++ b/module/story/view/track.html.php @@ -17,6 +17,8 @@ app->rawModule == 'projectstory' ? "style='overflow: unset;'" : '';?> + app->rawModule == 'projectstory' ? 'project' : 'product';?> + app->rawModule == 'projectstory' ? 'projectstory' : 'story';?>
@@ -48,7 +50,7 @@ +
id"), $requirement->title, '', "title=$requirement->title");?> + story->noRequirement : html::a($this->createLink($module, 'view', "storyID=$requirement->id"), $requirement->title, '', "title=$requirement->title data-group='$openModel'");?> story->statusList, $requirement->status);?> @@ -57,7 +59,7 @@ $story):?> ';?> - createLink('story', 'view', "storyID=$storyID"), $story->title, '',"title='$story->title'");?>createLink($module, 'view', "storyID=$storyID"), $story->title, '',"title='$story->title' data-group='$openModel'");?> design as $designID => $design):?> createLink('design', 'view', "designID=$designID"), $design->name, '', "title='$design->name'") . '
';?>