fix sortLists
This commit is contained in:
parent
48e451572b
commit
75149e715b
1 changed files with 1 additions and 0 deletions
|
@ -348,6 +348,7 @@ def sortLists(data):
|
||||||
'''
|
'''
|
||||||
n = 0
|
n = 0
|
||||||
logger.debug('sortLists %s', data)
|
logger.debug('sortLists %s', data)
|
||||||
|
lists = []
|
||||||
for id in data['ids']:
|
for id in data['ids']:
|
||||||
l = models.List.get(id)
|
l = models.List.get(id)
|
||||||
l.index_ = n
|
l.index_ = n
|
||||||
|
|
Loading…
Reference in a new issue