fix orderby with multiple labels, closes #4220

This commit is contained in:
zadam
2023-09-05 23:00:08 +02:00
parent f8e4a665bd
commit 7b662b04ff
2 changed files with 13 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ function lex(str) {
let currentWord = '';
function isSymbolAnOperator(chr) {
return ['=', '*', '>', '<', '!', "-", "+", '%'].includes(chr);
return ['=', '*', '>', '<', '!', "-", "+", '%', ','].includes(chr);
}
function isPreviousSymbolAnOperator() {
@@ -128,6 +128,10 @@ function lex(str) {
}
}
if (chr === ',') {
continue;
}
currentWord += chr;
}