mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-23 07:55:29 +01:00
When creating a new repository and copying issue labels from a template, the explicit sort order of exclusive labels was previously being lost (resetting to 0). This fix ensures that the original sort order for exclusive labels (e.g., 1, 2) is properly copied and retained in the newly created repository. Fixes #36463 --------- Signed-off-by: Paulo Chen <paulochen@tecnico.ulisboa.pt> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>