From 1cedf36d301913cb36dbc38ffd987ada9efb4a77 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Thu, 17 Aug 2023 21:13:00 +0800 Subject: [PATCH] Fix "issueReposQueryPattern does not match query" (#26556) (#26564) Backport #26556 by @wolfogre Fix `https://github.com/go-gitea/gitea/pull/26545#discussion_r1295734340` Co-authored-by: Jason Song Co-authored-by: wxiaoguang --- routers/web/user/home.go | 2 +- templates/user/dashboard/issues.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/web/user/home.go b/routers/web/user/home.go index 1b0f651b07..8cb1b62974 100644 --- a/routers/web/user/home.go +++ b/routers/web/user/home.go @@ -695,7 +695,7 @@ func getRepoIDs(reposQuery string) []int64 { return []int64{} } if !issueReposQueryPattern.MatchString(reposQuery) { - log.Warn("issueReposQueryPattern does not match query") + log.Warn("issueReposQueryPattern does not match query: %q", reposQuery) return []int64{} } diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index 67a02e7ee6..16e87e475e 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -74,7 +74,7 @@