Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: go-gitea/gitea
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 64750fd5add06892113baf5a4cf6a2affe770b45
Choose a base ref
..
head repository: go-gitea/gitea
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 488e0db97bb6e62842893ea7e1b1181921ee679c
Choose a head ref
Showing with 0 additions and 1 deletion.
  1. +0 −1 modules/indexer/issues/db/db.go
1 change: 0 additions & 1 deletion modules/indexer/issues/db/db.go
Original file line number Diff line number Diff line change
@@ -55,7 +55,6 @@ func (i *Indexer) Search(ctx context.Context, options *internal.SearchOptions) (
if len(options.RepoIDs) == 1 {
repoCond = builder.Eq{"repo_id": options.RepoIDs[0]}
}

subQuery := builder.Select("id").From("issue").Where(repoCond)
cond = builder.Or(
db.BuildCaseInsensitiveLike("issue.name", options.Keyword),