* adjust the export feature of bug.

This commit is contained in:
wangchunsheng
2011-05-03 04:43:44 +00:00
parent fa5c5c0d57
commit 6772d0d765
3 changed files with 153 additions and 122 deletions

View File

@@ -112,25 +112,6 @@ class bugModel extends model
return $bug;
}
/**
* getByQuery
*
* @param string $productID
* @param string $query
* @param string $orderBy
* @access public
* @return void
*/
public function getByQuery($productID, $query, $orderBy)
{
$tmpBugs = $this->dao->select('*')->from(TABLE_BUG)->alias('t1')->where($query)
->andWhere('product')->eq((int)$productID)
->andWhere('deleted')->eq(0)
->orderBy($orderBy)
->fetchAll();
return $tmpBugs;
}
/**
* Update a bug.
*