gitea/models
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
..
admin
appstate
asymkey Pad GPG Key ID with preceding zeroes (#20878) 2022-08-21 02:50:15 -04:00
auth
avatars
db
fixtures
foreignreference
git
issues Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
migrations Fix migration file name (#20843) 2022-08-18 13:38:59 +08:00
organization
packages
perm
project
pull
repo In PushMirrorsIterate and MirrorsIterate if limit is negative do not set it (#20837) 2022-08-18 22:12:00 -04:00
unit
unittest
user
webhook
action_list.go
action_test.go
action.go
consistency.go
error.go
fixture_generation.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
fixture_test.go
main_test.go
migrate_test.go
migrate.go
notification_test.go
notification.go
org_team_test.go
org_team.go
org_test.go
org.go
release.go
repo_activity.go
repo_collaboration_test.go
repo_collaboration.go
repo_test.go
repo_transfer_test.go
repo_transfer.go
repo.go
statistic.go
task.go
token_test.go
token.go
upload.go
user_heatmap_test.go
user_heatmap.go
user.go