mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
Add missing method.
This commit is contained in:
@@ -1536,9 +1536,9 @@ class OperatorQuerySearch implements SearchInterface
|
||||
$parts = explode(' ', $value);
|
||||
$value = trim($parts[count($parts) - 1], "() \t\n\r\0\x0B");
|
||||
}
|
||||
$result = $this->currencyRepository->findByCodeNull($value);
|
||||
$result = $this->currencyRepository->findByCode($value);
|
||||
if (null === $result) {
|
||||
$result = $this->currencyRepository->findByNameNull($value);
|
||||
$result = $this->currencyRepository->findByName($value);
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
Reference in New Issue
Block a user