mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #211
This commit is contained in:
parent
ee0e9011b2
commit
59cdfa6fe6
@ -97,14 +97,14 @@ class JournalRepository implements JournalRepositoryInterface
|
||||
*/
|
||||
public function getCollectionOfTypes(array $types, int $offset, int $count)
|
||||
{
|
||||
$set = $this->user->transactionJournals()->transactionTypes($types)
|
||||
$set = $this->user->transactionJournals()
|
||||
->expanded()
|
||||
->transactionTypes($types)
|
||||
->take($count)->offset($offset)
|
||||
->orderBy('date', 'DESC')
|
||||
->orderBy('order', 'ASC')
|
||||
->orderBy('id', 'DESC')
|
||||
->get(
|
||||
['transaction_journals.*']
|
||||
);
|
||||
->get(TransactionJournal::QUERYFIELDS);
|
||||
|
||||
return $set;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user