Update tasks.py
This commit is contained in:
parent
f217c07d12
commit
fed4a4ae48
|
|
@ -68,7 +68,7 @@ def getTaskPage(
|
|||
):
|
||||
start = (page - 1) * size
|
||||
limit = str(start) + ',' + str(size)
|
||||
task_list = mw.M('tasks').where('', ()).field(__FIELD).limit(limit).order('id desc').select()
|
||||
task_list = mw.M('tasks').where('', ()).field(__FIELD).limit(limit).order('id asc').select()
|
||||
count = mw.M('tasks').where('', ()).count()
|
||||
|
||||
rdata = {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue