diff --git a/CHANGELOG.md b/CHANGELOG.md index a01f950f..93dd100a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## Fixed - #480: Make the app GDPR - new EU privacy regulations compliant. +- #485: Make REST API search check with "q" parameter case insensitive. - #489: REST API response headers must use the Content-Type application/json value. - #500: Performance optimization in backend calendar page, after the user clicks the insert appointment button. diff --git a/src/engine/Api/V1/Processors/Search.php b/src/engine/Api/V1/Processors/Search.php index 8f93ef37..bc91a218 100644 --- a/src/engine/Api/V1/Processors/Search.php +++ b/src/engine/Api/V1/Processors/Search.php @@ -61,7 +61,7 @@ class Search implements ProcessorsInterface { { $currentKey = $key; - if (strpos($value, $needle) !== FALSE || (is_array($value) && self::_recursiveArraySearch($value, + if (stripos($value, $needle) !== FALSE || (is_array($value) && self::_recursiveArraySearch($value, $needle) !== FALSE)) { return $currentKey;