Skip to content

Commit

Permalink
enable options.IsFuzzyKeyword go-gitea#29685
Browse files Browse the repository at this point in the history
  • Loading branch information
zjjhot committed Mar 9, 2024
1 parent 1332b39 commit 73df3ab
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions modules/indexer/issues/dboptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ import (

func ToSearchOptions(keyword string, opts *issues_model.IssuesOptions) *SearchOptions {
searchOpt := &SearchOptions{
Keyword: keyword,
RepoIDs: opts.RepoIDs,
AllPublic: false,
IsPull: opts.IsPull,
IsClosed: opts.IsClosed,
Keyword: keyword,
RepoIDs: opts.RepoIDs,
AllPublic: false,
IsPull: opts.IsPull,
IsClosed: opts.IsClosed,
IsFuzzyKeyword: true,
}

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

0 comments on commit 73df3ab

Please sign in to comment.