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,6 +139,7 @@ def parseConditions(conditions, operator):
|
|||
if q: conn.append(q)
|
||||
pass
|
||||
else:
|
||||
if condition.get('value', '') != '' or condition.get('operator', '') == '=':
|
||||
conn.append(parseCondition(condition))
|
||||
if conn:
|
||||
q = conn[0]
|
||||
|
|
Loading…
Reference in a new issue