[enh] show newest job first

This commit is contained in:
Laurent Peuch 2018-07-15 04:08:08 +02:00
parent 136c2825df
commit 5461bd996d

2
run.py
View file

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