* Adjust sql for trash get.
This commit is contained in:
@@ -293,9 +293,8 @@ class actionModel extends model
|
||||
->beginIF($objectType != 'all')->andWhere('objectType')->eq($objectType)->fi()
|
||||
->beginIF($objectType == 'execution')->andWhere('objectID')->notIn($noMultipleExecutions)->fi()
|
||||
->beginIF($objectType == 'all')
|
||||
->andWhere('objectType', true)->ne('exection')
|
||||
->markLeft(1)
|
||||
->orWhere('objectType')->eq('exection')->andWhere('objectID')->notIn($noMultipleExecutions)
|
||||
->andWhere('objectType', true)->ne('execution')
|
||||
->orWhere('(objectType')->eq('execution')->andWhere('objectID')->notIn($noMultipleExecutions)
|
||||
->markRight(2)
|
||||
->fi()
|
||||
->andWhere('extra')->eq($extra)
|
||||
|
||||
Reference in New Issue
Block a user