From 324be9a73198c56fd8ab98f8c2085d3d81eced62 Mon Sep 17 00:00:00 2001 From: Zettat123 Date: Wed, 9 Sep 2026 22:56:31 -0600 Subject: [PATCH] fix: restore owner name in PR target branch selector (#39262) (#39277) --- routers/web/repo/pull.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/web/repo/pull.go b/routers/web/repo/pull.go index c668cb7d90..690869cd75 100644 --- a/routers/web/repo/pull.go +++ b/routers/web/repo/pull.go @@ -360,6 +360,7 @@ func (prInfo *pullRequestViewInfo) prepareViewInfo(ctx *context.Context, issue * ctx.Data["BaseBranch"] = issue.PullRequest.BaseBranch ctx.Data["HeadBranch"] = issue.PullRequest.HeadBranch ctx.Data["HeadUserName"] = issue.PullRequest.MustHeadUserName(ctx) + ctx.Data["BaseName"] = issue.PullRequest.BaseRepo.OwnerName if issue.PullRequest.HasMerged { prInfo.prepareViewMergedPullInfo(ctx)