mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-12-05 02:54:46 +01:00
052e65e63f
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>
47 lines
730 B
YAML
47 lines
730 B
YAML
-
|
|
id: 1
|
|
title: First project
|
|
owner_id: 0
|
|
repo_id: 1
|
|
is_closed: false
|
|
creator_id: 2
|
|
board_type: 1
|
|
type: 2
|
|
created_unix: 1688973030
|
|
updated_unix: 1688973030
|
|
|
|
-
|
|
id: 2
|
|
title: second project
|
|
owner_id: 0
|
|
repo_id: 3
|
|
is_closed: false
|
|
creator_id: 3
|
|
board_type: 1
|
|
type: 2
|
|
created_unix: 1688973010
|
|
updated_unix: 1688973010
|
|
|
|
-
|
|
id: 3
|
|
title: project on repo with disabled project
|
|
owner_id: 0
|
|
repo_id: 4
|
|
is_closed: true
|
|
creator_id: 5
|
|
board_type: 1
|
|
type: 2
|
|
created_unix: 1688973020
|
|
updated_unix: 1688973020
|
|
|
|
-
|
|
id: 4
|
|
title: project on user2
|
|
owner_id: 2
|
|
repo_id: 0
|
|
is_closed: false
|
|
creator_id: 2
|
|
board_type: 1
|
|
type: 2
|
|
created_unix: 1688973000
|
|
updated_unix: 1688973000
|