1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-16 18:01:33 +00:00
forgejo/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
auth
avatars
db
fixtures Fix SQL Query for SearchTeam (#20844) 2022-08-21 17:24:05 +01:00
foreignreference
git
issues
migrations
organization Fix SQL Query for SearchTeam (#20844) 2022-08-21 17:24:05 +01:00
packages
perm
project
pull
repo
unit
unittest
user
webhook
action.go
action_list.go
action_test.go
consistency.go
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
notification.go
notification_test.go
org.go
org_team.go
org_team_test.go
org_test.go
release.go
repo.go
repo_activity.go
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go
statistic.go
task.go
token.go
token_test.go
upload.go
user.go
user_heatmap.go
user_heatmap_test.go