Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milestone in PR-Sidebar redirects to external bugtracker (if configured) #33266

Closed
hfrahmann opened this issue Jan 14, 2025 · 1 comment · Fixed by #33269
Closed

Milestone in PR-Sidebar redirects to external bugtracker (if configured) #33266

hfrahmann opened this issue Jan 14, 2025 · 1 comment · Fixed by #33269
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Milestone

Comments

@hfrahmann
Copy link

Description

The link to a Milestone from the sidebar in the PR views has this URL:
https://<host>/gitea/MyOrganization/MyRepo/issues?milestone=19

In the Project/Repo an external bugtracker is configured, so the /issues link redirects to the external bugtracker.

The problem is now that the milestone will be redirected to the external bugtracker instead to the milestone page of gitea.


Example on demo.gitea.com: https://gitea.com/hfrahmann/MyDemo/pulls/1

Screenshots

Bildschirmfoto 2025-01-14 um 12 38 26

Gitea Version

1.23.1

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

No response

Browser Version

Vivaldi - 7.0.3495.27 (Stable channel) (arm64)

@hfrahmann hfrahmann added topic/ui Change the appearance of the Gitea UI type/bug labels Jan 14, 2025
@wxiaoguang
Copy link
Contributor

Will be fixed by Fix sidebar milestone link #33269

@wxiaoguang wxiaoguang added this to the 1.23.2 milestone Jan 14, 2025
GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue Jan 14, 2025
wxiaoguang added a commit that referenced this issue Jan 15, 2025
Backport #33269 by wxiaoguang

Fix  #33266

Co-authored-by: wxiaoguang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants