on the front page, order the builds by platform name

This commit is contained in:
Hannes Mehnert 2022-07-27 09:45:01 +02:00
parent f666c9d0d1
commit e6ac6834e7

View file

@ -412,7 +412,7 @@ module Build = struct
let get_platforms_for_job =
id `job ->* Caqti_type.string @@
"SELECT DISTINCT platform FROM build WHERE job = ?"
"SELECT DISTINCT platform FROM build WHERE job = ? ORDER BY platform"
let add =
t ->. Caqti_type.unit @@