-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
Description
Description
My user (20) is in an organization (publicorg) and in this organization in a team (Frontend). I would expect /api/v1/user/teams
to return the team as described in the swagger, but instead it just returns null
. It doesn't matter whether the user is a public member or not. Using this endpoint would simplify this pull request a bit.
Gitea Version
1.17.0 built with GNU Make 4.3, go1.18.4 : bindata, timetzdata, sqlite, sqlite_unlock_notify
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/Oliver-Hanikel/a279a0057dab0880a866b3180dd55ff2
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
I am using the official 1.17.0 docker image from docker hub.
Database
SQLite
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
Fix SQL Query for `SearchTeam`
SearchTeam
#20844Fix SQL Query for `SearchTeam` (go-gitea#20844)
SearchTeam
(#20844) #20872Fix SQL Query for `SearchTeam` (#20844)
Fix SQL Query for `SearchTeam` (#20844) (#20872)
Fix SQL Query for `SearchTeam` (go-gitea#20844)