James Cole
2026-03-06 11:41:18 +01:00
parent 6f4143bb79
commit f6ea517b5d
4 changed files with 28 additions and 6 deletions

View File

@@ -487,7 +487,7 @@ class OperatorQuerySearch implements SearchInterface
// search direction: for destination accounts
if (SearchDirection::DESTINATION === $searchDirection) { // destination
// destination can be
// the destination account can be
$searchTypes = [
AccountTypeEnum::ASSET->value,
AccountTypeEnum::MORTGAGE->value,
@@ -530,7 +530,7 @@ class OperatorQuerySearch implements SearchInterface
}
// get accounts:
$accounts = $this->accountRepository->searchAccount($value, $searchTypes, 1337);
$accounts = $this->accountRepository->searchAccountIncludingInactive($value, $searchTypes, 1337);
if (0 === $accounts->count() && false === $prohibited) {
Log::warning('Found zero accounts, search for non existing account, NO results will be returned.');
$this->collector->findNothing();