@xuda.io/xuda-dbs-plugin-xuda 1.0.176 → 1.0.177
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/studio.mjs +2 -2
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.177",
|
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/studio.mjs
CHANGED
@@ -295,9 +295,9 @@ const get_opt = function (e, table_obj) {
|
|
295
295
|
}
|
296
296
|
}
|
297
297
|
|
298
|
-
if (e.filterModel) {
|
298
|
+
if (e.filterModel && JSON.parse(e.filterModel).length) {
|
299
299
|
debugger;
|
300
|
-
for (const [key, val] of Object.entries(e.filterModel)) {
|
300
|
+
for (const [key, val] of Object.entries(JSON.parse(e.filterModel))) {
|
301
301
|
var field_name = key;
|
302
302
|
var condition = "$and";
|
303
303
|
const make_selector = function (val) {
|