* Finish task#4806.

This commit is contained in:
滔哥
2018-09-14 14:26:54 +08:00
parent 39efa87c5d
commit 64b34ba5c6
+5 -1
View File
@@ -1016,7 +1016,11 @@ class block extends control
$today = date(DT_DATE1);
$yesterday = date(DT_DATE1, strtotime('yesterday'));
$bugs = $this->loadModel('bug')->getByList($bugIDList);
$this->app->loadLang('bug');
$bugs = $this->dao->select('id, assignedTo, resolvedDate, closedDate, status')->from(TABLE_BUG)
->where('deleted')->eq(0)
->andWhere('id')->in($bugIDList)
->fetchAll('id');
$confirmedBugs = $this->dao->select('objectID')->from(TABLE_ACTION)
->where('objectType')->eq('bug')
->andWhere('action')->eq('bugconfirmed')