2d2a5657ef
Backport #27807 by @lng2020
Noticeable change:
Remove the `OrderBy("1") `
[patch](https://github.com/go-gitea/gitea/pull/27673#issuecomment-1768570142)
for mssql since xorm has [fixed
it](0f085408af
).
Co-authored-by: Nanguan Lin <70063547+lng2020@users.noreply.github.com>