This fixes #478, again

This commit is contained in:
James Cole
2016-12-20 10:25:11 +01:00
committed by GitHub
parent 1a24e7e0aa
commit 664230dca8

View File

@@ -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) {