chg: [ParamHandler] Allow haversting negated filter from URL

- These are separated by a space character which is being converted to `_`
pull/40/head
mokaddem 2021-03-10 09:40:54 +01:00
parent e35bf9fa74
commit 97c5f7b197
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ class ParamHandlerComponent extends Component
$parsedParams = array();
foreach ($filterList as $k => $filter) {
$queryString = str_replace('.', '_', $filter);
$queryString = str_replace(' ', '_', $queryString);
if ($this->request->getQuery($queryString) !== null) {
$parsedParams[$filter] = $this->request->getQuery($queryString);
continue;