mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Remove initial balance accounts from auto-complete.
This commit is contained in:
parent
e67812bf64
commit
33e241d39a
@ -68,6 +68,9 @@ class AutoCompleteController extends Controller
|
||||
$filteredAccountTypes[] = $type;
|
||||
}
|
||||
}
|
||||
if (0 === count($filteredAccountTypes)) {
|
||||
$filteredAccountTypes = $allowedAccountTypes;
|
||||
}
|
||||
Log::debug(sprintf('Now in accounts("%s"). Filtering results.', $search), $filteredAccountTypes);
|
||||
|
||||
$return = [];
|
||||
|
Loading…
Reference in New Issue
Block a user