filter empty search

This commit is contained in:
j 2010-07-15 14:12:04 +02:00
parent bca6408974
commit 01d1cf1ff8

View file

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