move public list to the top
This commit is contained in:
parent
61fff0a8d7
commit
9c393cdd56
4 changed files with 42 additions and 10 deletions
|
|
@ -349,7 +349,7 @@ def sortLists(data):
|
|||
'''
|
||||
n = 0
|
||||
logger.debug('sortLists %s', data)
|
||||
lists = []
|
||||
lists = ['Public']
|
||||
for id in data['ids']:
|
||||
l = models.List.get(id)
|
||||
l.index_ = n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue