fix: list runners

This commit is contained in:
Jason Song
2022-12-12 18:38:43 +08:00
parent cc19ab5ced
commit 1c9288f3dd
5 changed files with 33 additions and 41 deletions

View File

@@ -32,11 +32,10 @@ func Runners(ctx *context.Context) {
Page: page,
PageSize: 100,
},
Sort: ctx.Req.URL.Query().Get("sort"),
Filter: ctx.Req.URL.Query().Get("q"),
WithDeleted: false,
RepoID: ctx.Repo.Repository.ID,
OwnerID: 0,
Sort: ctx.Req.URL.Query().Get("sort"),
Filter: ctx.Req.URL.Query().Get("q"),
RepoID: ctx.Repo.Repository.ID,
WithAvailable: true,
}
common.RunnersList(ctx, tplRunners, opts)