Browse Source

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

fork
Alexander Kitaev 8 years ago
parent
commit
937336e440
  1. 2
      lib/Parser.js

2
lib/Parser.js

@ -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