mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 01:18:39 +00:00
a9ac8c0afd
The labels page shows open issue counts, but "Most issues" and "Least issues" sorted by the total including closed issues, so a label with no open issues could land in the middle of the list. - Sort repository and organization labels by their open issue count - Sort organization labels on a repository's labels page by their open issues in that repository, which is the count they display Fixes: https://github.com/go-gitea/gitea/issues/39346 --------- Signed-off-by: piyush295 <mr.piyush295@gmail.com> Co-authored-by: silverwind <me@silverwind.io>