gitea/routers/web/org
Gusted d3b31cc1ee
Add `GetUserTeams` ()
* COrrect use `UserID` in `SearchTeams`

- Use `UserID` in the `SearchTeams` function, currently it was useless
to pass such information. Now it does a INNER statement to `team_user`
which obtains UserID -> TeamID data.
- Make OrgID optional.
- Resolves 

* Seperate searching specific user

* Add condition back

* Use correct struct type

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
..
home.go Allow to filter repositories by language in explore, user and organization repositories lists ()
members.go format with gofumpt ()
org.go Move user related model into models/user ()
org_labels.go Fix wrong redirect on org labels ()
setting.go format with gofumpt ()
teams.go Add `GetUserTeams` ()