Push result of parsed of generator clause instead of merging into result

issue7345
review42111002
This commit is contained in:
Cédric Krier committed 2018-04-22 00:20:32 +02:00
1 parent b3590d2dc8
commit d41f84f7dc
1 file changed
+1 -1
+1 -1
View File
@@ -1610,7 +1610,7 @@
var result = [];
tokens.forEach(function(clause) {
if (this.is_generator(clause)) {
jQuery.merge(result, this.parse_clause(clause));
result.push(this.parse_clause(clause));
} else if ((clause == 'OR') || (clause == 'AND')) {
result.push(clause);
} else if ((clause.length == 1) &&