Make REST API search check with "q" parameter case insensitive. #485

This commit is contained in:
alext 2018-06-24 19:44:49 +02:00
parent caa45a65f1
commit 3bb6dcdbf1
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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;