Commit 85a4533c authored by Robert Czechowski's avatar Robert Czechowski

Reverse ordering of contests, fixes #122

parent a7ec45a7
Pipeline #909 passed with stage
in 3 minutes and 52 seconds
......@@ -988,7 +988,7 @@ impl MedalConnection for Connection {
let query = "SELECT id, location, filename, name, duration, public, start_date, end_date, min_grade, max_grade,
positionalnumber, requires_login, secret, message
FROM contest
ORDER BY positionalnumber";
ORDER BY positionalnumber DESC";
self.query_map_many(query, &[], |row| Contest { id: Some(row.get(0)),
location: row.get(1),
filename: row.get(2),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment