* complete bug #133:adjust code of browse by longLifeBugs.

This commit is contained in:
fujia
2010-08-21 05:35:50 +00:00
parent 6ed776f0fe
commit bb84488993
+1
View File
@@ -102,6 +102,7 @@ class bug extends control
elseif($browseType == 'longlifebugs')
{
$bugs = $this->dao->findByLastEditedDate("<", date(DT_DATE1, strtotime('-7 days')))->from(TABLE_BUG)->andWhere('product')->eq($productID)
->andWhere('openedDate')->lt(date(DT_DATE1,strtotime('-7 days')))
->andWhere('deleted')->eq(0)
->andWhere('status')->ne('closed')->orderBy($orderBy)->page($pager)->fetchAll();
}