Skip to content

Commit 73df3ab

Browse files
committed
enable options.IsFuzzyKeyword go-gitea#29685
1 parent 1332b39 commit 73df3ab

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

modules/indexer/issues/dboptions.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ import (
1010

1111
func ToSearchOptions(keyword string, opts *issues_model.IssuesOptions) *SearchOptions {
1212
searchOpt := &SearchOptions{
13-
Keyword: keyword,
14-
RepoIDs: opts.RepoIDs,
15-
AllPublic: false,
16-
IsPull: opts.IsPull,
17-
IsClosed: opts.IsClosed,
13+
Keyword: keyword,
14+
RepoIDs: opts.RepoIDs,
15+
AllPublic: false,
16+
IsPull: opts.IsPull,
17+
IsClosed: opts.IsClosed,
18+
IsFuzzyKeyword: true,
1819
}
1920

2021
if len(opts.LabelIDs) == 1 && opts.LabelIDs[0] == 0 {

0 commit comments

Comments
 (0)