* Fix bug #23693.* Fix bug #23693.* Fix bug #23693.* Fix bug #23693.* Fix bug #23693.* Fix bug #23693.* Fix bug #23693.* Fix bug #23693.

This commit is contained in:
zhouxudong
2022-06-15 06:20:28 +00:00
parent 3318147874
commit 6307cd07e2
+2
View File
@@ -1517,6 +1517,7 @@ class block extends control
$projectID = $this->lang->navGroup->qa == 'project' ? $this->session->project : 0;
$products = $this->loadModel('product')->getOrderedProducts($status, $count, $projectID);
$executions = $this->loadModel('execution')->getPairs($projectID, 'all', 'empty|withdelete');
if(empty($products))
{
$this->view->products = $products;
@@ -1536,6 +1537,7 @@ class block extends control
count((closedDate >= '$yesterday' and closedDate < '$today') or null) as yesterdayClosed")
->from(TABLE_BUG)
->where('product')->in($productIdList)
->andWhere('execution')->in(array_keys($executions))
->andWhere('deleted')->eq(0)
->groupBy('product')
->fetchAll('product');