+ [bug#39325,done,0.2h] don't filter execution if you search for all executions.
This commit is contained in:
@@ -77,6 +77,7 @@ class myTao extends myModel
|
||||
$operatorAndAccount = $assignedToMatches[1];
|
||||
$query = str_replace("t1.{$assignedToMatches[0]}", "(t1.{$assignedToCondition} or (t1.mode = 'multi' and t5.`account` {$operatorAndAccount} and t1.status != 'closed' and t5.status != 'done') )", $query);
|
||||
}
|
||||
if(strpos($query, "t1.`execution` = 'all'") !== false) $query = str_replace("t1.`execution` = 'all'", "t1.`execution` != '0'", $query);
|
||||
|
||||
$orderBy = str_replace('pri_', 'priOrder_', $orderBy);
|
||||
return $this->dao->select("t1.*, t4.id as project, t2.id as executionID, t2.name as executionName, t2.multiple as executionMultiple, t4.name as projectName, t2.type as executionType, t3.id as storyID, t3.title as storyTitle, t3.status AS storyStatus, t3.version AS latestStoryVersion, IF(t1.`pri` = 0, {$this->config->maxPriValue}, t1.`pri`) as priOrder")
|
||||
|
||||
Reference in New Issue
Block a user