summaryrefslogtreecommitdiffstats
path: root/routers/admin
diff options
context:
space:
mode:
authorLanre Adelowo <adelowomailbox@gmail.com>2019-02-11 02:27:24 +0100
committerLauris BH <lauris@nix.lv>2019-02-11 03:27:24 +0200
commitd0cb5aa9f95888a97a6f4ac39769893da8a0cbaf (patch)
tree539263584cc3b42846cfa523e900c54515e4a5eb /routers/admin
parentc71c28eab8219bbf600d9c9af956c5257a734cd2 (diff)
downloadgitea-d0cb5aa9f95888a97a6f4ac39769893da8a0cbaf.tar.gz
gitea-d0cb5aa9f95888a97a6f4ac39769893da8a0cbaf.zip
fix #3200 (#6033)
Diffstat (limited to 'routers/admin')
-rw-r--r--routers/admin/repos.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/repos.go b/routers/admin/repos.go
index fcb51e650b..d345c8e76a 100644
--- a/routers/admin/repos.go
+++ b/routers/admin/repos.go
@@ -46,6 +46,6 @@ func DeleteRepo(ctx *context.Context) {
ctx.Flash.Success(ctx.Tr("repo.settings.deletion_success"))
ctx.JSON(200, map[string]interface{}{
- "redirect": setting.AppSubURL + "/admin/repos?page=" + ctx.Query("page"),
+ "redirect": setting.AppSubURL + "/admin/repos?page=" + ctx.Query("page") + "&sort=" + ctx.Query("sort"),
})
}