mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[enh] show newest job first
This commit is contained in:
parent
136c2825df
commit
5461bd996d
1 changed files with 1 additions and 1 deletions
2
run.py
2
run.py
|
@ -191,7 +191,7 @@ async def index_ws(request, websocket):
|
|||
|
||||
await websocket.send(ujson.dumps({
|
||||
"action": "init_jobs",
|
||||
"data": map(model_to_dict, Job.select()),
|
||||
"data": map(model_to_dict, Job.select().order_by(-Job.id)),
|
||||
}))
|
||||
|
||||
while True:
|
||||
|
|
Loading…
Add table
Reference in a new issue