gitea/services
Paulo Chen 0e0cf7a813
fix #36463: preserve sort order of exclusive labels from template repo (#36931)
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>
2026-03-21 06:54:28 +00:00
..
actions Feature: Add per-runner “Disable/Pause” (#36776) 2026-03-16 10:24:36 -07:00
agit Refactor git command stderr handling (#36402) 2026-01-18 15:10:33 -08:00
asymkey Some refactors about GetMergeBase (#36186) 2026-01-17 11:22:09 -08:00
attachment various fixes (#36697) 2026-02-22 08:01:43 +01:00
auth Refactor auth middleware (#36848) 2026-03-08 17:59:46 +08:00
automerge Fix non-admins unable to automerge PRs from forks (#36833) 2026-03-06 00:03:12 +00:00
automergequeue Fix various trivial problems (#35714) 2025-10-21 13:19:29 +08:00
context Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00
contexttest Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
convert Feature: Add per-runner “Disable/Pause” (#36776) 2026-03-16 10:24:36 -07:00
cron Refactor git command context & pipeline (#36406) 2026-01-21 01:35:14 +00:00
doctor Refactor git command stderr handling (#36402) 2026-01-18 15:10:33 -08:00
externalaccount Refactor OpenIDConnect to support SSH/FullName sync (#34978) 2025-07-10 18:35:59 +00:00
feed Fix CodeQL code scanning alerts (#36858) 2026-03-08 14:35:50 +00:00
forms Use "Enable Gravatar" but not "Disable" (#36771) 2026-02-27 16:39:26 +00:00
git Fix bug when list pull request commits (#36485) 2026-01-30 18:46:34 +00:00
gitdiff Fix incorrect viewed files counter if reverted change was viewed (#36819) 2026-03-09 08:23:36 +00:00
indexer Update issue indexer after merging a PR (#30715) 2024-05-08 14:45:15 +00:00
issue Fix various trivial problems (#36921) 2026-03-19 07:13:55 +08:00
lfs Refactor ActionsTaskID (#36503) 2026-01-31 22:01:08 -08:00
mailer fix(repo): unify DEFAULT_SHOW_FULL_NAME output in templates and dropdown (#36597) 2026-03-04 21:23:17 +08:00
markup Refactor text utility classes to Tailwind CSS (#36703) 2026-02-22 22:56:33 +00:00
migrations Fix typos in code comments: doesnt, dont, wont (#36890) 2026-03-13 09:58:44 -07:00
mirror Add migration http transport for push/sync mirror lfs (#36665) 2026-02-20 22:19:12 +00:00
notify Don't send trigger for a pending review's comment create/update/delete (#34928) 2025-07-03 10:35:45 +08:00
oauth2_provider Update tool dependencies and fix new lint issues (#36702) 2026-02-26 19:13:19 +00:00
org Correct spelling (#36783) 2026-02-28 11:23:20 -08:00
packages Correct spelling (#36783) 2026-02-28 11:23:20 -08:00
projects Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
pull Fix bug to check whether user can update pull request branch or rebase branch (#36465) 2026-03-05 11:31:34 -08:00
release Update tool dependencies and fix new lint issues (#36702) 2026-02-26 19:13:19 +00:00
repository fix #36463: preserve sort order of exclusive labels from template repo (#36931) 2026-03-21 06:54:28 +00:00
secrets Fix various bugs (#35684) 2025-10-19 00:37:50 +08:00
task Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
uinotification Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
user Release attachments must belong to the intended repo (#36347) 2026-01-14 11:37:53 -08:00
versioned_migration Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +00:00
webhook Update tool dependencies and fix new lint issues (#36702) 2026-02-26 19:13:19 +00:00
webtheme Fix theme loading in development (#36605) 2026-02-17 21:46:42 +00:00
wiki Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00