1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 07:04:25 +00:00
gitea/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>
2022-08-21 17:24:05 +01:00
..
main_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2022-06-15 09:02:00 +02:00
org_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
org_user_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
org_user.go Move org functions (#19753) 2022-05-20 12:20:51 +02:00
org.go Adjust transaction handling via db.Context (#20031) 2022-06-20 14:38:58 +02:00
team_repo.go Add order by for assignee no sort issue (#20053) 2022-07-14 18:00:10 +02:00
team_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
team_unit.go
team_user.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
team.go Fix SQL Query for SearchTeam (#20844) 2022-08-21 17:24:05 +01:00