Repository navigation
Correctly set the organization num repos - #11339
Conversation
Correctly set the organization num repos to the number of accessible repos for the user Fix go-gitea#11194 Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
|
@zeripath can we add a test for OrgRepoNum somewhere? |
|
Presumably there is something in OK I've added the test. I've done it in the declarative style with reusable component tests. |
|
@6543 presumably this is going to need a |
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Codecov Report
@@ Coverage Diff @@
## master #11339 +/- ##
==========================================
+ Coverage 43.84% 43.93% +0.09%
==========================================
Files 613 613
Lines 87229 87236 +7
==========================================
+ Hits 38245 38328 +83
+ Misses 44262 44177 -85
- Partials 4722 4731 +9
Continue to review full report at Codecov.
|
* Correctly set the organization num repos Correctly set the organization num repos to the number of accessible repos for the user Fix go-gitea#11194 Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @lunny Signed-off-by: Andrew Thornton <art27@cantab.net> * attempt to fix mssql Signed-off-by: Andrew Thornton <art27@cantab.net> * Update models/user.go * Explicit columns Signed-off-by: Andrew Thornton <art27@cantab.net> * Add test and fix 0 counted orgs Signed-off-by: Andrew Thornton <art27@cantab.net> * remove orgname from api Signed-off-by: Andrew Thornton <art27@cantab.net>

Correctly set the organization num repos to the number of
accessible repos for the user
Fix #11194
Fix #11331
Signed-off-by: Andrew Thornton art27@cantab.net