Do not order the count query.

This commit is contained in:
James Cole 2016-11-05 18:55:09 +01:00
parent bd55636b3f
commit ee6e047596
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -102,6 +102,7 @@ class JournalCollector
$countQuery->getQuery()->offset = null;
$countQuery->getQuery()->unionLimit = null;
$countQuery->getQuery()->groups = null;
$countQuery->getQuery()->orders = null;
$countQuery->groupBy('accounts.user_id');
$this->count = $countQuery->count();