User specific repoID or xorm builder conditions for issue search (#19475) (#19476)

This commit is contained in:
6543 authored and GitHub committed 2022-04-25 15:28:47 +02:00
1 parent a6b32adc45
commit 8d7f1e430a
8 files changed
+22 -32

No files matched your search

+1 -1
View File
@@ -272,7 +272,7 @@ func populateIssueIndexer(ctx context.Context) {
// UpdateRepoIndexer add/update all issues of the repositories
func UpdateRepoIndexer(repo *repo_model.Repository) {
is, err := models.Issues(&models.IssuesOptions{
RepoIDs: []int64{repo.ID},
RepoID: repo.ID,
IsClosed: util.OptionalBoolNone,
IsPull: util.OptionalBoolNone,
})