summaryrefslogtreecommitdiffstats
path: root/client/lib/filter.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/lib/filter.js')
-rw-r--r--client/lib/filter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/lib/filter.js b/client/lib/filter.js
index 04edaa38..c087ca78 100644
--- a/client/lib/filter.js
+++ b/client/lib/filter.js
@@ -208,8 +208,8 @@ class AdvancedFilter {
case '|':
case '||':
{
- const op1 = commands[i-1].cmd;
- const op2 = commands[i+1].cmd;
+ const op1 = commands[i-1];
+ const op2 = commands[i+1];
commands[i] = {$or: [op1, op2]};
commands.splice(i-1, 1);
commands.splice(i, 1);