From c179ab423600b23f5b095a620e4d3b514353c0af Mon Sep 17 00:00:00 2001 From: Jason Song Date: Thu, 17 Aug 2023 20:38:02 +0800 Subject: [PATCH] Fix "issueReposQueryPattern does not match query" (#26556) Fix `https://github.com/go-gitea/gitea/pull/26545#discussion_r1295734340` --------- Co-authored-by: wxiaoguang Co-authored-by: Giteabot --- 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 8cc9cccc29f..bf19cc513d3 100644 --- a/routers/web/user/home.go +++ b/routers/web/user/home.go @@ -746,7 +746,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 2897bb6dffc..8d6cc67afe1 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -74,7 +74,7 @@