From 91c390eaea0a255c34bfe5b681a3c0314c61b5d2 Mon Sep 17 00:00:00 2001 From: Amolith Date: Fri, 17 Oct 2025 11:14:04 -0600 Subject: [PATCH] refactor(bug-list): default to open bugs --- pkg/web/templates/bugs.html | 2 +- pkg/web/webui_bugs.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/web/templates/bugs.html b/pkg/web/templates/bugs.html index 47e7fefe1213c2b6dbbad68ff39647f67d856cbb..afdbf392c92f9c3d6eca5361fd4a6cafe42ca941 100644 --- a/pkg/web/templates/bugs.html +++ b/pkg/web/templates/bugs.html @@ -4,9 +4,9 @@ diff --git a/pkg/web/webui_bugs.go b/pkg/web/webui_bugs.go index 54aa677a10a9e1219761e1136e48cf6605194cce..8325749bea15e5d9c902b295b60db0ddc90294d2 100644 --- a/pkg/web/webui_bugs.go +++ b/pkg/web/webui_bugs.go @@ -324,10 +324,10 @@ func repoBugs(w http.ResponseWriter, r *http.Request) { status := r.URL.Query().Get("status") if status == "" { - status = "all" + status = "open" } if status != "all" && status != "open" && status != "closed" { - status = "all" + status = "open" } page := 1