@iebh/polyglot 4.7.3 → 4.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/modules/parse.js +3 -0
- package/package.json +1 -1
package/lib/modules/parse.js
CHANGED
|
@@ -511,7 +511,10 @@ var parse = function parse(query, options) {
|
|
|
511
511
|
useLeaf = leaf;
|
|
512
512
|
} else if (_lodash["default"].isArray(leaf) && lastGroup) {
|
|
513
513
|
useLeaf = lastGroup;
|
|
514
|
+
} else if (_lodash["default"].isObject(leaf) && leaf.type == 'mesh') {
|
|
515
|
+
useLeaf = leaf;
|
|
514
516
|
}
|
|
517
|
+
console.log("Here is the problem", _fieldCodesParse["default"][match[1].toLowerCase()]);
|
|
515
518
|
useLeaf.field = _fieldCodesParse["default"][match[1].toLowerCase()];
|
|
516
519
|
if (match[2]) {
|
|
517
520
|
offset += match[0].length;
|