You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models/organization
Gusted 0b4c166e8a
Fix SQL Query for `SearchTeam` (#20844)
- Currently the function takes in the `UserID` option, but isn't being
used within the SQL query. This patch fixes that by checking that only
teams are being returned that the user belongs to.

Fix #20829

Co-authored-by: delvh <dev.lh@web.de>
2 years ago
..
main_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
org.go Adjust transaction handling via db.Context (#20031) 2 years ago
org_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
org_user.go Move org functions (#19753) 2 years ago
org_user_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
team.go Fix SQL Query for `SearchTeam` (#20844) 2 years ago
team_repo.go Add order by for assignee no sort issue (#20053) 2 years ago
team_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
team_unit.go Move organization related structs into sub package (#18518) 2 years ago
team_user.go Make git.OpenRepository accept Context (#19260) 2 years ago