#72: When counting albums in the admin stats widget, count all, not just the current page
This commit is contained in:
parent
036814705f
commit
790d354167
@ -125,7 +125,7 @@ class DefaultController extends Controller
|
||||
{
|
||||
$this->authorizeAccessToAdminPanel();
|
||||
|
||||
$albumCount = DbHelper::getAlbumsForCurrentUser()->count();
|
||||
$albumCount = count(DbHelper::getAlbumIDsForCurrentUser());
|
||||
$photoCount = Photo::all()->count();
|
||||
$groupCount = Group::all()->count();
|
||||
$labelCount = Label::all()->count();
|
||||
|
Loading…
Reference in New Issue
Block a user