summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgnatzHome <ignatz@maschath.de>2018-05-20 10:20:29 +0200
committerIgnatzHome <ignatz@maschath.de>2018-05-20 10:20:29 +0200
commitc3044a6b8b91755042dc0b23abdd7192111ee73f (patch)
tree920bd11bfbe71564c524c514beb0c1709912b75c
parent778a29855f3beac7b3915c76ced5f149c5fe306e (diff)
downloadwekan-c3044a6b8b91755042dc0b23abdd7192111ee73f.tar.gz
wekan-c3044a6b8b91755042dc0b23abdd7192111ee73f.tar.bz2
wekan-c3044a6b8b91755042dc0b23abdd7192111ee73f.zip
removing .cmd in oricessing Operators
-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);