summaryrefslogtreecommitdiffstats
path: root/models/fixtures
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-07-12 03:47:50 +0900
committerGitHub <noreply@github.com>2023-07-11 20:47:50 +0200
commit44572e924347420d3e11823b93921e01a5529959 (patch)
tree83e8361c259c94318b97a8d1645025d4294a3e42 /models/fixtures
parent491cc06ffe3491242ad9ff6227423d99e673d0c2 (diff)
downloadgitea-44572e924347420d3e11823b93921e01a5529959.tar.gz
gitea-44572e924347420d3e11823b93921e01a5529959.zip
Fix incorrect oldest sort in project list (#25806)
sort type `oldest` should be `Asc`. Added a test for this.
Diffstat (limited to 'models/fixtures')
-rw-r--r--models/fixtures/project.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/models/fixtures/project.yml b/models/fixtures/project.yml
index 3fa4286c53..1bf8030f6a 100644
--- a/models/fixtures/project.yml
+++ b/models/fixtures/project.yml
@@ -7,6 +7,8 @@
creator_id: 2
board_type: 1
type: 2
+ created_unix: 1688973030
+ updated_unix: 1688973030
-
id: 2
@@ -17,6 +19,8 @@
creator_id: 3
board_type: 1
type: 2
+ created_unix: 1688973010
+ updated_unix: 1688973010
-
id: 3
@@ -27,6 +31,8 @@
creator_id: 5
board_type: 1
type: 2
+ created_unix: 1688973020
+ updated_unix: 1688973020
-
id: 4
@@ -37,3 +43,5 @@
creator_id: 2
board_type: 1
type: 2
+ created_unix: 1688973000
+ updated_unix: 1688973000