From 27899bde15a8d51d4df4def32b76a3c8a571832b Mon Sep 17 00:00:00 2001 From: Jimmy Henderickx Date: Tue, 26 Jun 2018 13:24:59 +0200 Subject: [PATCH] Allow case insensitive suggestions --- src/Plugin/views/area/SpellCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/views/area/SpellCheck.php b/src/Plugin/views/area/SpellCheck.php index 515aa7c..cbddea1 100644 --- a/src/Plugin/views/area/SpellCheck.php +++ b/src/Plugin/views/area/SpellCheck.php @@ -145,7 +145,7 @@ protected function getFilters() { if (!empty($filter->options['expose']['identifier'])) { $key = $filter->options['expose']['identifier']; } - $this->filters[$key] = !empty($exposed_input[$key]) ? $exposed_input[$key] : FALSE; + $this->filters[$key] = !empty($exposed_input[$key]) ? strtolower($exposed_input[$key]) : FALSE; } } }