From cbefcf28fca591121b45cefab100a91f1cbee6f5 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 54312afa5e1d36c7300c3ef585396703f668ac66..4f081ec22c1dd71d2fddb0b75c88e9fc1e5ca85c 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