Org and repo labels with same prefix are not being grouped #11023

Open
opened 2025-11-02 09:25:25 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @stuzer05 on GitHub (Jun 14, 2023).

Description

If you create an organization level label. let's say test/1 (exclusive), then create repo livel label test/2 (also excusive). And go to issues list, you'll see that test/ labels are in a separate groups.

I think all labels, both org and repo sould be sorted and merged into groups together.

Gitea Version

trunk

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

None

Originally created by @stuzer05 on GitHub (Jun 14, 2023). ### Description If you create an organization level label. let's say `test/1` (exclusive), then create repo livel label `test/2` (also excusive). And go to issues list, you'll see that `test/` labels are in a separate groups. I think all labels, both org and repo sould be sorted and merged into groups together. ### Gitea Version trunk ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots ![image](https://github.com/go-gitea/gitea/assets/23124682/23db4da7-ae30-4bc2-88f5-27ebeceaf09e) ### 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:25:25 -06:00
Author
Owner

@yardenshoham commented on GitHub (Jun 14, 2023):

cc @brechtvl

@yardenshoham commented on GitHub (Jun 14, 2023): cc @brechtvl
Author
Owner

@brechtvl commented on GitHub (Jun 23, 2023):

Org and repo labels are displayed separately with a divider between them. Also before scoped labels you might have expected them to be merged into a single list and sorted alphabetically.

I don't know if there is a design reason for separating them, or if it's just what was most convenient to implement.

@brechtvl commented on GitHub (Jun 23, 2023): Org and repo labels are displayed separately with a divider between them. Also before scoped labels you might have expected them to be merged into a single list and sorted alphabetically. I don't know if there is a design reason for separating them, or if it's just what was most convenient to implement.
Author
Owner

@yp05327 commented on GitHub (Mar 21, 2024):

Org and repo labels are displayed separately with a divider between them.

It seems that this feature is broken.
image
version: 1.22.0+dev-1013-g857243bed7

@yp05327 commented on GitHub (Mar 21, 2024): > Org and repo labels are displayed separately with a divider between them. It seems that this feature is broken. ![image](https://github.com/go-gitea/gitea/assets/18380374/346f15b0-a170-4573-bfe4-e0dd05df6401) version: 1.22.0+dev-1013-g857243bed7
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11023