fix smart list update for nested queries
This commit is contained in:
parent
6a9758f702
commit
664fc702c2
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ class List(db.Model):
|
|||
changed = False
|
||||
for c in conditions:
|
||||
if 'conditions' in c:
|
||||
changed = update_conditions(conditions)
|
||||
changed = update_conditions(c['conditions'] )
|
||||
else:
|
||||
if c.get('key') == 'list' and c.get('value', '').startswith('%s:' % old):
|
||||
c['value'] = '%s:%s' % new, c['value'].split(':', 1)[1]
|
||||
|
|
Loading…
Reference in a new issue