1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00
forgejo/models/organization
Gusted 642dd61446 fix: Add recentupdated as recognized sort option
- Add `recentupdated` to the `OrderByMap`.
- Add integration testing for organization and user repository sorting.
- Resolves #5612
- Regression from 12e23ee199 where the
`recentupdated` case was not added to the map, but was handled
seperately as a fallback. The regression came into affect when
5a0bc35799 also relied on this map but
didn't handle the `recentupdated` case.

(cherry picked from commit df38c41c7a)
2024-10-20 10:58:07 +00:00
..
TestInconsistentOwnerTeam [BUG] Don't allow owner team with incorrect unit access 2024-10-14 19:59:17 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
mini_org.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
org.go Check the token's owner and repository when registering a runner (#30406) 2024-04-16 09:38:26 +02:00
org_repo.go Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
org_test.go fix: Add recentupdated as recognized sort option 2024-10-20 10:58:07 +00:00
org_user.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
org_user_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
team.go [BUG] Don't allow owner team with incorrect unit access 2024-10-14 19:59:17 +00:00
team_invite.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_invite_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
team_list.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
team_repo.go Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
team_test.go [BUG] Don't allow owner team with incorrect unit access 2024-10-14 19:59:17 +00:00
team_unit.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
team_user.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00