mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
Fix "issueReposQueryPattern does not match query" (#26556)
Fix `https://github.com/go-gitea/gitea/pull/26545#discussion_r1295734340` --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
c6b92c84fe
commit
c179ab4236
@ -746,7 +746,7 @@ func getRepoIDs(reposQuery string) []int64 {
|
|||||||
return []int64{}
|
return []int64{}
|
||||||
}
|
}
|
||||||
if !issueReposQueryPattern.MatchString(reposQuery) {
|
if !issueReposQueryPattern.MatchString(reposQuery) {
|
||||||
log.Warn("issueReposQueryPattern does not match query")
|
log.Warn("issueReposQueryPattern does not match query: %q", reposQuery)
|
||||||
return []int64{}
|
return []int64{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
<form class="list-header-search ui form ignore-dirty">
|
<form class="list-header-search ui form ignore-dirty">
|
||||||
<div class="ui small search fluid action input">
|
<div class="ui small search fluid action input">
|
||||||
<input type="hidden" name="type" value="{{$.ViewType}}">
|
<input type="hidden" name="type" value="{{$.ViewType}}">
|
||||||
<input type="hidden" name="repos" value="[{{range $.RepoIDs}}{{.}}%2C{{end}}]">
|
<input type="hidden" name="repos" value="[{{range $.RepoIDs}}{{.}},{{end}}]">
|
||||||
<input type="hidden" name="sort" value="{{$.SortType}}">
|
<input type="hidden" name="sort" value="{{$.SortType}}">
|
||||||
<input type="hidden" name="state" value="{{$.State}}">
|
<input type="hidden" name="state" value="{{$.State}}">
|
||||||
{{template "shared/searchinput" dict "locale" .locale "Value" $.Keyword}}
|
{{template "shared/searchinput" dict "locale" .locale "Value" $.Keyword}}
|
||||||
|
Loading…
Reference in New Issue
Block a user