esearch parser was failing on single digit items, like 'ALL 1'

fork
Alexander Kitaev 10 years ago
parent 57bde8c1b2
commit 937336e440

@ -329,7 +329,7 @@ function parseESearch(text, literals) {
key = r[i].toLowerCase();
val = r[i + 1];
if (key === 'all')
val = val.split(',');
val = val.toString().split(',');
attrs[key] = val;
}

Loading…
Cancel
Save