* part function for task #688.

This commit is contained in:
shiyangyangwork@yahoo.cn
2012-02-16 06:44:02 +00:00
parent 480932577c
commit 7d4342e6cf
+1 -1
View File
@@ -305,7 +305,7 @@ class actionModel extends model
->where('date')->gt($begin)
->andWhere('date')->lt($end)
->beginIF($account != 'all')->andWhere('actor')->eq($account)->fi()
->beginIF(is_numeric($productID))->andWhere('product')->eq($productID)->fi()
->beginIF(is_numeric($productID))->andWhere('product')->findInSet($productID)->fi()
->beginIF(is_numeric($projectID))->andWhere('project')->eq($projectID)->fi()
->beginIF($productID == 'notzero')->andWhere('product')->gt(0)->fi()
->beginIF($projectID == 'notzero')->andWhere('project')->gt(0)->fi()