mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update tasks.py
This commit is contained in:
+1
-1
@@ -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 asc').select()
|
||||
task_list = mw.M('tasks').where('', ()).field(__FIELD).limit(limit).order('id desc').select()
|
||||
count = mw.M('tasks').where('', ()).count()
|
||||
|
||||
rdata = {}
|
||||
|
||||
Reference in New Issue
Block a user