mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
This fixes #478, again
This commit is contained in:
@@ -59,7 +59,7 @@ class Search implements SearchInterface
|
|||||||
{
|
{
|
||||||
$accounts = $this->user->accounts()
|
$accounts = $this->user->accounts()
|
||||||
->accountTypeIn([AccountType::DEFAULT, AccountType::ASSET, AccountType::EXPENSE, AccountType::REVENUE, AccountType::BENEFICIARY])
|
->accountTypeIn([AccountType::DEFAULT, AccountType::ASSET, AccountType::EXPENSE, AccountType::REVENUE, AccountType::BENEFICIARY])
|
||||||
->get();
|
->get(['accounts.*']);
|
||||||
/** @var Collection $result */
|
/** @var Collection $result */
|
||||||
$result = $accounts->filter(
|
$result = $accounts->filter(
|
||||||
function (Account $account) use ($words) {
|
function (Account $account) use ($words) {
|
||||||
|
Reference in New Issue
Block a user