]> source.dussan.org Git - gitea.git/commit
Correctly return the number of Repositories for Organizations (#16807)
authorzeripath <art27@cantab.net>
Wed, 1 Sep 2021 05:31:42 +0000 (06:31 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Sep 2021 05:31:42 +0000 (01:31 -0400)
commit57b0887ab21aaee9a70638df70f6dec0f72098c4
treeb2034c61fe70b6ba8da68ff6a0db80bdba3a17cd
parent83640a595b99c7e19133e649359a6f3d8133ca4c
Correctly return the number of Repositories for Organizations (#16807)

Calculate and return the number of Repositories on the dashboard
Organization list.

This PR restores some of the logic that was removed in #14032 to
calculate the number of repos on the dashboard orgs list.

Fix #16648
Replaces #16799

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
models/org.go
routers/web/user/home.go