forgejo-federation/models/fixtures/org_user.yml
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

71 lines
618 B
YAML

-
id: 1
uid: 2
org_id: 3
is_public: true
-
id: 2
uid: 4
org_id: 3
is_public: false
-
id: 3
uid: 5
org_id: 6
is_public: true
-
id: 4
uid: 5
org_id: 7
is_public: false
-
id: 5
uid: 15
org_id: 17
is_public: true
-
id: 6
uid: 18
org_id: 17
is_public: false
-
id: 7
uid: 20
org_id: 19
is_public: true
-
id: 8
uid: 24
org_id: 25
is_public: true
-
id: 9
uid: 28
org_id: 3
is_public: true
-
id: 10
uid: 28
org_id: 6
is_public: true
-
id: 11
uid: 29
org_id: 17
is_public: true
-
id: 12
uid: 2
org_id: 17
is_public: true