gitea/models/organization
Gusted e6ec411491
Fix SQL Query for SearchTeam (#20844) (#20872)
Backport #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
2022-08-21 19:31:51 +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 Move tests as seperate sub packages to reduce duplicated file names (#19951) 2022-06-15 09:02:00 +02:00
org_user_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2022-06-15 09:02:00 +02:00
org_user.go Move org functions (#19753) 2022-05-20 12:20:51 +02:00
org.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
team_repo.go more context for models (#19511) 2022-04-28 13:48:48 +02:00
team_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2022-06-15 09:02:00 +02: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) (#20872) 2022-08-21 19:31:51 +01:00