mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
Add budget keyword.
This commit is contained in:
@@ -193,8 +193,10 @@ class Search implements SearchInterface
|
||||
/** @var JournalCollectorInterface $collector */
|
||||
$collector = app(JournalCollectorInterface::class);
|
||||
$collector->setUser($this->user);
|
||||
$collector->setAllAssetAccounts()->setLimit($pageSize)->setPage($page)
|
||||
->withOpposingAccount()->withCategoryInformation();
|
||||
$collector->setAllAssetAccounts()->setLimit($pageSize)->setPage($page);
|
||||
if($this->hasModifiers()) {
|
||||
$collector->withOpposingAccount()->withCategoryInformation()->withBudgetInformation();
|
||||
}
|
||||
$set = $collector->getPaginatedJournals()->getCollection();
|
||||
$words = $this->words;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user