Merge pull request 'Sort builds latest first' (#19) from latest-first into main
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/19
This commit is contained in:
commit
dbe7300c9d
1 changed files with 3 additions and 3 deletions
|
@ -286,7 +286,7 @@ module Build = struct
|
||||||
script, job
|
script, job
|
||||||
FROM build
|
FROM build
|
||||||
WHERE job = ?
|
WHERE job = ?
|
||||||
ORDER BY start_d ASC, start_ps ASC
|
ORDER BY start_d DESC, start_ps DESC
|
||||||
|}
|
|}
|
||||||
|
|
||||||
let get_all_meta =
|
let get_all_meta =
|
||||||
|
@ -298,7 +298,7 @@ module Build = struct
|
||||||
result_kind, result_code, result_msg, job
|
result_kind, result_code, result_msg, job
|
||||||
FROM build
|
FROM build
|
||||||
WHERE job = ?
|
WHERE job = ?
|
||||||
ORDER BY start_d ASC, start_ps ASC
|
ORDER BY start_d DESC, start_ps DESC
|
||||||
|}
|
|}
|
||||||
|
|
||||||
let get_all_meta_by_name =
|
let get_all_meta_by_name =
|
||||||
|
@ -311,7 +311,7 @@ module Build = struct
|
||||||
build.result_kind, build.result_code, build.result_msg, build.job
|
build.result_kind, build.result_code, build.result_msg, build.job
|
||||||
FROM build, job
|
FROM build, job
|
||||||
WHERE job.name = ? AND build.job = job.id
|
WHERE job.name = ? AND build.job = job.id
|
||||||
ORDER BY start_d ASC, start_ps ASC
|
ORDER BY start_d DESC, start_ps DESC
|
||||||
|}
|
|}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue