* Fix bug #45407, judge object ID by all equals.
This commit is contained in:
@@ -681,9 +681,9 @@ class actionTao extends actionModel
|
||||
/* Types excluded from Lite. */
|
||||
->beginIF($this->config->vision == 'lite')->andWhere('objectType')->notin('product')->fi()
|
||||
->beginIF($this->config->systemMode == 'light')->andWhere('objectType')->notin('program')->fi()
|
||||
->beginIF($productID == 'notzero')->andWhere('product')->gt(0)->andWhere('product')->notlike('%,0,%')->fi()
|
||||
->beginIF($projectID == 'notzero')->andWhere('project')->gt(0)->fi()
|
||||
->beginIF($executionID == 'notzero')->andWhere('execution')->gt(0)->fi()
|
||||
->beginIF($productID === 'notzero')->andWhere('product')->gt(0)->andWhere('product')->notlike('%,0,%')->fi()
|
||||
->beginIF($projectID === 'notzero')->andWhere('project')->gt(0)->fi()
|
||||
->beginIF($executionID === 'notzero')->andWhere('execution')->gt(0)->fi()
|
||||
->andWhere($condition)
|
||||
->beginIF($actionCondition)->andWhere("($actionCondition)")->fi()
|
||||
->orderBy($orderBy)
|
||||
|
||||
Reference in New Issue
Block a user