From 916795987543799958a0865d3d2425cf36fcdd01 Mon Sep 17 00:00:00 2001 From: Lou Knauer Date: Thu, 3 Feb 2022 16:00:08 +0100 Subject: [PATCH] Update frontend --- frontend | 2 +- routes.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend b/frontend index 1472411..63f98d1 160000 --- a/frontend +++ b/frontend @@ -1 +1 @@ -Subproject commit 147241160cea5e239998fd20a7897ec9694f3bce +Subproject commit 63f98d12dd7c7cac3dbdc27e635d12f1ed4958df diff --git a/routes.go b/routes.go index 9d83b62..b82d710 100644 --- a/routes.go +++ b/routes.go @@ -36,6 +36,10 @@ func buildFilterPresets(query url.Values) map[string]interface{} { filterPresets["project"] = query.Get("project") filterPresets["projectMatch"] = "eq" } + if query.Get("user") != "" { + filterPresets["user"] = query.Get("user") + filterPresets["userMatch"] = "eq" + } if query.Get("state") != "" && schema.JobState(query.Get("state")).Valid() { filterPresets["state"] = query.Get("state") }