1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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
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",
})