mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 22:48:18 +00:00
Some code cleanup and fixes.
This commit is contained in:
@@ -10,8 +10,8 @@ class Category implements CategoryInterface
|
||||
public function journalsInRange(\Category $category, Carbon $start, Carbon $end)
|
||||
{
|
||||
return $category->transactionjournals()->with(
|
||||
['transactions', 'transactions.account', 'transactiontype', 'components']
|
||||
)->orderBy('date', 'DESC')->orderBy('id', 'DESC')->before($end)->after($start)->get();
|
||||
['transactions', 'transactions.account', 'transactiontype', 'components']
|
||||
)->orderBy('date', 'DESC')->orderBy('id', 'DESC')->before($end)->after($start)->get();
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user