@xuda.io/xuda-dbs-plugin-xuda 1.0.314 → 1.0.315
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/package.json +1 -1
- package/server.js +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xuda.io/xuda-dbs-plugin-xuda",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.315",
|
4
4
|
"description": "Xuda Database Socket for Xuda's proprietary structure powered by CouchDB",
|
5
5
|
"scripts": {
|
6
6
|
"pub": "npm version patch --force && npm publish --access public"
|
package/server.js
CHANGED
@@ -337,7 +337,7 @@ const get_opt = function (e, table_obj) {
|
|
337
337
|
}
|
338
338
|
|
339
339
|
if (e.dataSourceFilterModelType === 'query' && e.filterModelMongo) {
|
340
|
-
selector_new['$and'] = [replaceRegexOptions(replaceKeysInQuery(
|
340
|
+
selector_new['$and'] = [replaceRegexOptions(replaceKeysInQuery(JSON.parse(e.filterModelMongo)))];
|
341
341
|
}
|
342
342
|
|
343
343
|
const _filterModelUserMongo = typeof e.filterModelUserMongo === 'string' ? JSON.parse(e.filterModelUserMongo) : e.filterModelUserMongo;
|