Search on the profile repositories page go wrong #11155

Closed
opened 2025-11-02 09:29:14 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @starnakin on GitHub (Jul 3, 2023).

Description

Since the addition of the profile overview, when you search for a repository by name, you will be redirected to the profile overview. I believe the bug is caused by the recent update to the profile overview, as the repositories page is no longer the default page.

The correct URL should be: /{profile name}?tab=repositories&q=query.
However, the current URL is: /{profile name}?q=query.

It's evident that this bug only exists on profiles with a profile page.

Gitea Version

latest docker image

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker

Database

None

Originally created by @starnakin on GitHub (Jul 3, 2023). ### Description Since the addition of the profile overview, when you search for a repository by name, you will be redirected to the profile overview. I believe the bug is caused by the recent update to the profile overview, as the repositories page is no longer the default page. The correct URL should be: /{profile name}?tab=repositories&q=query. However, the current URL is: /{profile name}?q=query. It's evident that this bug only exists on profiles with a profile page. ### Gitea Version latest docker image ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Docker ### Database None
GiteaMirror added the type/bug label 2025-11-02 09:29:14 -06:00
Author
Owner

@delvh commented on GitHub (Jul 3, 2023):

I think this has been fixed already with #25455

@delvh commented on GitHub (Jul 3, 2023): I think this has been fixed already with #25455
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11155