* Correctly set the organization num repos
Correctly set the organization num repos to the number of
accessible repos for the user
Fix#11194
Signed-off-by: Andrew Thornton <[email protected]>
* as per @lunny
Signed-off-by: Andrew Thornton <[email protected]>
* attempt to fix mssql
Signed-off-by: Andrew Thornton <[email protected]>
* Update models/user.go
* Explicit columns
Signed-off-by: Andrew Thornton <[email protected]>
* Add test and fix 0 counted orgs
Signed-off-by: Andrew Thornton <[email protected]>
* remove orgname from api
Signed-off-by: Andrew Thornton <[email protected]>