@xuda.io/xuda-dbs-plugin-xuda 1.0.210 → 1.0.211

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/server.js +1 -1
  3. package/studio.mjs +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.210",
3
+ "version": "1.0.211",
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
@@ -272,7 +272,7 @@ const get_opt = function (e, table_obj) {
272
272
  for (const [key, val] of Object.entries(opt.sort)) {
273
273
  var field_name = val.field_id;
274
274
  opt.sort[key] = {
275
- ["udfData.data." + field_name]: val.sort,
275
+ ["udfData.data." + field_name]: val.sort_dir,
276
276
  };
277
277
  }
278
278
  }
package/studio.mjs CHANGED
@@ -289,7 +289,7 @@ const get_opt = function (e, table_obj) {
289
289
  for (const [key, val] of Object.entries(opt.sort)) {
290
290
  var field_name = val.colId;
291
291
  opt.sort[key] = {
292
- ["udfData.data." + field_name]: val.sort,
292
+ ["udfData.data." + field_name]: val.sort_dir,
293
293
  };
294
294
  }
295
295
  }