filter empty search
This commit is contained in:
parent
bca6408974
commit
01d1cf1ff8
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ def parseConditions(conditions, operator):
|
||||||
if q: conn.append(q)
|
if q: conn.append(q)
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
conn.append(parseCondition(condition))
|
if condition.get('value', '') != '' or condition.get('operator', '') == '=':
|
||||||
|
conn.append(parseCondition(condition))
|
||||||
if conn:
|
if conn:
|
||||||
q = conn[0]
|
q = conn[0]
|
||||||
for c in conn[1:]:
|
for c in conn[1:]:
|
||||||
|
|
Loading…
Reference in a new issue