aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/ArrayListFilter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/ArrayListFilter.js b/web/app/view/ArrayListFilter.js
index e8d1c130..519096eb 100644
--- a/web/app/view/ArrayListFilter.js
+++ b/web/app/view/ArrayListFilter.js
@@ -34,7 +34,7 @@ Ext.define('Traccar.view.ArrayListFilter', {
return true;
}
}
- } else if (property.indexOf(',') !== -1) {
+ } else if (property.match(/[ ,]+/)) {
splits = property.split(/[ ,]+/).filter(Boolean);
for (i = 0; i < splits.length; i++) {
if (value.indexOf(splits[i]) !== -1) {