aboutsummaryrefslogtreecommitdiffstats
path: root/services/migrations
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2022-04-25 16:06:24 +0200
committerGitHub <noreply@github.com>2022-04-25 16:06:24 +0200
commitddbbe6e15ce411a286c2c9ea4e9fb4107fe3cde5 (patch)
tree9ec29e551b0a06a3cbc2027aa968d5fc06883a6b /services/migrations
parentfe274c148bc516b63aa89ab1904d124e60903421 (diff)
downloadgitea-ddbbe6e15ce411a286c2c9ea4e9fb4107fe3cde5.tar.gz
gitea-ddbbe6e15ce411a286c2c9ea4e9fb4107fe3cde5.zip
User specific repoID or xorm builder conditions for issue search (#19475)
* extend models.IssuesOptions to have more specific repo filter options * use new options * unrelated refactor * rm RepoIDs
Diffstat (limited to 'services/migrations')
-rw-r--r--services/migrations/gitea_uploader_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/migrations/gitea_uploader_test.go b/services/migrations/gitea_uploader_test.go
index 51c7ad9717..f57c8e2333 100644
--- a/services/migrations/gitea_uploader_test.go
+++ b/services/migrations/gitea_uploader_test.go
@@ -105,7 +105,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",
})