forked from 0x2620/pandora
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)
|
||||
pass
|
||||
else:
|
||||
conn.append(parseCondition(condition))
|
||||
if condition.get('value', '') != '' or condition.get('operator', '') == '=':
|
||||
conn.append(parseCondition(condition))
|
||||
if conn:
|
||||
q = conn[0]
|
||||
for c in conn[1:]:
|
||||
|
|
Loading…
Reference in a new issue