From c218c70b1f1d6bcf01f7cb655b6a43eb7cb13ffd Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 9 Mar 2020 18:13:04 +0100 Subject: [PATCH] Make modifiers case insensitive. --- app/Support/Search/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {