forked from gitea/gitea
1
0
Fork 0
gitea/models/project
Giteabot 052e65e63f
Fix incorrect oldest sort in project list (#25806) (#25835)
Backport #25806 by @yp05327

sort type `oldest` should be `Asc`.
Added a test for this.

I see we have `SearchOrderBy` in db model, but we are using many
different ways to define the sort type.
~Maybe we can improve this later.~
↑ Improved in this PR

Co-authored-by: yp05327 <576951401@qq.com>
2023-07-12 13:22:17 +08:00
..
board.go Improve GetBoards and getDefaultBoard (#22981) 2023-04-09 22:07:23 +08:00
issue.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
project.go Fix incorrect oldest sort in project list (#25806) (#25835) 2023-07-12 13:22:17 +08:00
project_test.go Fix incorrect oldest sort in project list (#25806) (#25835) 2023-07-12 13:22:17 +08:00