Page/Search

* dropped support of wildcard characters
 * search for literal usage of underscore
This commit is contained in:
Sarjuuk
2018-12-07 21:35:30 +01:00
parent 09176d1ae9
commit db012cfa8c
17 changed files with 47 additions and 45 deletions

View File

@@ -47,7 +47,7 @@ class ArenaTeamListFilter extends Filter
// fieldId => [checkType, checkValue[, fieldIsArray]]
protected $inputFields = array(
'na' => [FILTER_V_REGEX, '/[\p{C};]/ui', false], // name - only printable chars, no delimiter
'na' => [FILTER_V_REGEX, '/[\p{C};%\\\\]/ui', false], // name - only printable chars, no delimiter
'ma' => [FILTER_V_EQUAL, 1, false], // match any / all filter
'ex' => [FILTER_V_EQUAL, 'on', false], // only match exact
'si' => [FILTER_V_LIST, [1, 2], false], // side