turn library into list, list cache fixes
This commit is contained in:
parent
d866b4de91
commit
bf2fc29b54
8 changed files with 86 additions and 51 deletions
|
|
@ -181,9 +181,8 @@ def editList(data):
|
|||
l._query = data['query']
|
||||
if l.type == 'static' and name != l.name:
|
||||
Changelog.record(state.user(), 'editlist', name, {'name': l.name})
|
||||
else:
|
||||
l.user.clear_smart_list_cache()
|
||||
l.save()
|
||||
l.user.clear_smart_list_cache()
|
||||
return l.json()
|
||||
actions.register(editList, cache=False)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue