fix nested queries

This commit is contained in:
j 2018-09-26 09:48:39 +02:00
parent a1909c95b9
commit ba8e0298ad

View file

@ -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))