Skip to content

Firefly III: a personal finances manager

Make modifiers case insensitive.

James Colec218c70b1f1d
diff --git a/app/Support/Search/Search.php b/app/Support/Search/Search.php
index c425c752f0..1a3f7a3371 100644
--- a/app/Support/Search/Search.php
+++ b/app/Support/Search/Search.php
@@ -312,7 +312,7 @@ class Search implements SearchInterface
{
$parts = explode(':', $string);
if (2 === count($parts) && '' !== trim((string)$parts[1]) && '' !== trim((string)$parts[0])) {
- $type = trim((string)$parts[0]);
+ $type = strtolower(trim((string)$parts[0]));
$value = trim((string)$parts[1]);
$value = trim(trim($value, '"\''));
if (in_array($type, $this->validModifiers, true)) {