diff --git a/module/project/model.php b/module/project/model.php index fd69a33160..c3f2a78f29 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -979,7 +979,7 @@ class projectModel extends model if(($this->session->taskBrowseType) and ($this->session->taskBrowseType != 'bysearch')) $browseType = $this->session->taskBrowseType; } - $this->session->set('taskWithChildren', in_array($browseType, array('unclosed', 'byproject', 'all')) ? false : true); + $this->session->set('taskWithChildren', in_array($browseType, array('unclosed', 'byproject', 'all', 'bysearch')) ? false : true); /* Get tasks. */ $tasks = array();