Skip to content

Firefly III: a personal finances manager

This fixes #478, again

James Cole664230dca8fa
diff --git a/app/Support/Search/Search.php b/app/Support/Search/Search.php
index f9a36ff572..d011bdd0fd 100644
--- a/app/Support/Search/Search.php
+++ b/app/Support/Search/Search.php
@@ -59,7 +59,7 @@ class Search implements SearchInterface
{
$accounts = $this->user->accounts()
->accountTypeIn([AccountType::DEFAULT, AccountType::ASSET, AccountType::EXPENSE, AccountType::REVENUE, AccountType::BENEFICIARY])
- ->get();
+ ->get(['accounts.*']);
/** @var Collection $result */
$result = $accounts->filter(
function (Account $account) use ($words) {