Skip to content

Commit 7e08434

Browse files
lunnyKN4CK3R
andauthored
Fix wrong redirect on org labels (#18128) (#18134)
* Fix wrong redirect on org labels (#18128) Co-authored-by: KN4CK3R <[email protected]>
1 parent 7d75eed commit 7e08434

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io).
77
## [1.15.9](https://github.com/go-gitea/gitea/releases/tag/v1.15.9) - 2021-12-30
88

99
* BUGFIXES
10+
* Fix wrong redirect on org labels (#18128) (#18134)
1011
* Fix: unstable sort skips/duplicates issues across pages (#18094) (#18095)
1112
* Revert "Fix delete u2f keys bug (#18042)" (#18107)
1213
* Migrating wiki don't require token, so we should move it out of the require form (#17645) (#18104)

routers/web/org/org_labels.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func DeleteLabel(ctx *context.Context) {
9494
func InitializeLabels(ctx *context.Context) {
9595
form := web.GetForm(ctx).(*forms.InitializeLabelsForm)
9696
if ctx.HasError() {
97-
ctx.Redirect(ctx.Repo.RepoLink + "/labels")
97+
ctx.Redirect(ctx.Org.OrgLink + "/labels")
9898
return
9999
}
100100

0 commit comments

Comments
 (0)