|
|
@ -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"), |
|
|
|
}) |
|
|
|
} |