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

This commit is contained in:
6543 2022-04-25 15:28:47 +02:00 committed by GitHub
parent a6b32adc45
commit 8d7f1e430a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 22 additions and 32 deletions

View file

@ -97,7 +97,7 @@ func TestGiteaUploadRepo(t *testing.T) {
assert.Len(t, releases, 1)
issues, err := models.Issues(&models.IssuesOptions{
RepoIDs: []int64{repo.ID},
RepoID: repo.ID,
IsPull: util.OptionalBoolFalse,
SortType: "oldest",
})