Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

branches sording order changed after update #31172

Closed
phoedos opened this issue May 30, 2024 · 0 comments · Fixed by #31174
Closed

branches sording order changed after update #31172

phoedos opened this issue May 30, 2024 · 0 comments · Fixed by #31174
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Milestone

Comments

@phoedos
Copy link

phoedos commented May 30, 2024

Description

after update gitea 1.21.10 -> 1.22.0 changed branch sorting order
http://giteaurl/org/repo/branches
previous 1.21.10 logic: sorting order from newest to oldest
current 1.22.0 logic: sorting order from oldest to newest

is it possible to re-define behaviour or add sort by UI element ?

Screenshots

изображение_2024-05-30_102620999

Gitea Version

1.22.0

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

No response

Browser Version

Chrome v.123.0.0.0 (Windows NT 4.0)

@phoedos phoedos added topic/ui Change the appearance of the Gitea UI type/bug labels May 30, 2024
@lunny lunny added this to the 1.22.1 milestone May 30, 2024
lunny added a commit that referenced this issue May 31, 2024
Fix #31172

The original order or the default order should not be ignored even if we
have an is_deleted order.
GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue May 31, 2024
Fix go-gitea#31172

The original order or the default order should not be ignored even if we
have an is_deleted order.
lunny added a commit that referenced this issue May 31, 2024
Backport #31174 by @lunny

Fix #31172

The original order or the default order should not be ignored even if we
have an is_deleted order.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Aug 29, 2024
project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-as-gitea-fork that referenced this issue Jan 23, 2025
Backport go-gitea#31174 by @lunny

Fix go-gitea#31172

The original order or the default order should not be ignored even if we
have an is_deleted order.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
(cherry picked from commit c6176ee)
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants