forked from 0x2620/pandora
fix nested queries
This commit is contained in:
parent
a1909c95b9
commit
ba8e0298ad
1 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,8 @@ def parseConditions(conditions, operator, user):
|
|||
q = parseConditions(condition['conditions'],
|
||||
condition.get('operator', '&'), user)
|
||||
if q:
|
||||
conn.append(q)
|
||||
for conn_ in q:
|
||||
conn.append(conn_)
|
||||
pass
|
||||
else:
|
||||
conn.append(parseCondition(condition, user))
|
||||
|
|
Loading…
Reference in a new issue