fix sortLists

This commit is contained in:
j 2019-01-31 13:40:37 +05:30
parent 48e451572b
commit 75149e715b

View file

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