diff options
author | jladbrook <jhladbrook@gmail.com> | 2023-09-12 13:26:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 12:26:51 +0000 |
commit | e33f112e01d2453f8674c05556944277bf38567b (patch) | |
tree | 5c82102ee1cf95df3b2e41128daadddb7ce5fbc3 /routers/web/shared | |
parent | e481638010b669133a9106abbbf14fd6d76fb32e (diff) | |
download | gitea-e33f112e01d2453f8674c05556944277bf38567b.tar.gz gitea-e33f112e01d2453f8674c05556944277bf38567b.zip |
resolve issue with sort icons on admin/users and admin/runners (#24360)
Fixes #24327 to avoid the sort icon changing the table header over
multiple lines and adds missing sort icons on the runners page.
Diffstat (limited to 'routers/web/shared')
-rw-r--r-- | routers/web/shared/actions/runners.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/web/shared/actions/runners.go b/routers/web/shared/actions/runners.go index cab3d78cac..7ff1f3e33f 100644 --- a/routers/web/shared/actions/runners.go +++ b/routers/web/shared/actions/runners.go @@ -53,6 +53,7 @@ func RunnersList(ctx *context.Context, opts actions_model.FindRunnerOptions) { ctx.Data["RegistrationToken"] = token.Token ctx.Data["RunnerOwnerID"] = opts.OwnerID ctx.Data["RunnerRepoID"] = opts.RepoID + ctx.Data["SortType"] = opts.Sort pager := context.NewPagination(int(count), opts.PageSize, opts.Page, 5) |