mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-21 23:42:21 +03:00
Make REST API search check with "q" parameter case insensitive. #485
This commit is contained in:
parent
caa45a65f1
commit
3bb6dcdbf1
2 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue