Commit 57999b64 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Bugfix: Make tasks available again after broken in 161a5929

parent 0e7c6fab
......@@ -928,7 +928,7 @@ impl MedalConnection for Connection {
self.query_map_one(query, &[&task_id], |row| {
(Task { id: Some(task_id), taskgroup: row.get(2), location: row.get(0), stars: row.get(1) },
Taskgroup { id: Some(row.get(2)),
contest: row.get(4),
contest: row.get(5),
name: row.get(3),
active: row.get(4),
positionalnumber: None,
......
......@@ -1024,7 +1024,7 @@ impl MedalConnection for Connection {
self.query_map_one(query, &[&task_id], |row| {
(Task { id: Some(task_id), taskgroup: row.get(2), location: row.get(0), stars: row.get(1) },
Taskgroup { id: Some(row.get(2)),
contest: row.get(4),
contest: row.get(5),
name: row.get(3),
active: row.get(4),
positionalnumber: None,
......
......@@ -1024,7 +1024,7 @@ impl MedalConnection for Connection {
self.query_map_one(query, &[&task_id], |row| {
(Task { id: Some(task_id), taskgroup: row.get(2), location: row.get(0), stars: row.get(1) },
Taskgroup { id: Some(row.get(2)),
contest: row.get(4),
contest: row.get(5),
name: row.get(3),
active: row.get(4),
positionalnumber: None,
......
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