mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 05:39:32 +02:00
remember page number when delete repo
This commit is contained in:
1 parent
ca8ce793d1
commit
89244b74c6
2 files changed
+2
-2
No files matched your search
@@ -56,6 +56,6 @@ func DeleteRepo(ctx *middleware.Context) {
|
||||
|
||||
ctx.Flash.Success(ctx.Tr("repo.settings.deletion_success"))
|
||||
ctx.JSON(200, map[string]interface{}{
|
||||
"redirect": setting.AppSubUrl + "/admin/repos",
|
||||
"redirect": setting.AppSubUrl + "/admin/repos?page=" + ctx.Query("page"),
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user