* Fix bug#13079.
This commit is contained in:
@@ -505,7 +505,7 @@ class testreportModel extends model
|
||||
}
|
||||
return $this->dao->select('*')->from(TABLE_BUG)->where('deleted')->eq(0)
|
||||
->andWhere('product')->in($product)
|
||||
->andWhere('openedDate')->lt($begin)
|
||||
->andWhere('openedDate')->lt("$begin 23:59:59")
|
||||
->beginIF(is_array($builds) and $type == 'build')->andWhere('id')->in(trim($bugIdList, ','))->fi()
|
||||
->beginIF(!is_array($builds) and $type == 'build')->andWhere("(resolvedBuild = 'trunk' and resolvedDate >= '$begin' and resolvedDate <= '$end 23:59:59')")->fi()
|
||||
->beginIF($type == 'project')->andWhere("(id " . helper::dbIN(trim($bugIdList, ',')) . " OR (resolvedBuild = 'trunk' and resolvedDate >= '$begin' and resolvedDate <= '$end 23:59:59'))")
|
||||
|
||||
Reference in New Issue
Block a user