mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-12 08:38:26 +02:00
fix: Add recentupdated
as recognized sort option
- Add `recentupdated` to the `OrderByMap`. - Add integration testing for organization and user repository sorting. - Resolves #5612 - Regression from12e23ee199
where the `recentupdated` case was not added to the map, but was handled seperately as a fallback. The regression came into affect when5a0bc35799
also relied on this map but didn't handle the `recentupdated` case.
This commit is contained in:
parent
b76d7a2b2d
commit
df38c41c7a
6 changed files with 44 additions and 7 deletions
|
@ -91,6 +91,8 @@
|
|||
size: 0
|
||||
is_fsck_enabled: true
|
||||
close_issues_via_commit_in_any_branch: false
|
||||
created_unix: 1700000001
|
||||
updated_unix: 1700000001
|
||||
|
||||
-
|
||||
id: 4
|
||||
|
@ -152,6 +154,8 @@
|
|||
size: 0
|
||||
is_fsck_enabled: true
|
||||
close_issues_via_commit_in_any_branch: false
|
||||
created_unix: 1700000002
|
||||
updated_unix: 1700000002
|
||||
|
||||
-
|
||||
id: 6
|
||||
|
@ -182,6 +186,8 @@
|
|||
size: 0
|
||||
is_fsck_enabled: true
|
||||
close_issues_via_commit_in_any_branch: false
|
||||
created_unix: 1710000001
|
||||
updated_unix: 1710000001
|
||||
|
||||
-
|
||||
id: 7
|
||||
|
@ -212,6 +218,8 @@
|
|||
size: 0
|
||||
is_fsck_enabled: true
|
||||
close_issues_via_commit_in_any_branch: false
|
||||
created_unix: 1710000003
|
||||
updated_unix: 1710000003
|
||||
|
||||
-
|
||||
id: 8
|
||||
|
@ -242,6 +250,8 @@
|
|||
size: 0
|
||||
is_fsck_enabled: true
|
||||
close_issues_via_commit_in_any_branch: false
|
||||
created_unix: 1710000002
|
||||
updated_unix: 1710000002
|
||||
|
||||
-
|
||||
id: 9
|
||||
|
@ -968,6 +978,8 @@
|
|||
size: 0
|
||||
is_fsck_enabled: true
|
||||
close_issues_via_commit_in_any_branch: false
|
||||
created_unix: 1700000003
|
||||
updated_unix: 1700000003
|
||||
|
||||
-
|
||||
id: 33
|
||||
|
@ -1811,4 +1823,4 @@
|
|||
template_id: 0
|
||||
size: 0
|
||||
is_fsck_enabled: true
|
||||
close_issues_via_commit_in_any_branch: false
|
||||
close_issues_via_commit_in_any_branch: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue