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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. 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.209",
3
+ "version": "1.0.210",
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
@@ -270,7 +270,7 @@ const get_opt = function (e, table_obj) {
270
270
  opt.sort = JSON.parse(e.sortModel);
271
271
  if (opt.sort) {
272
272
  for (const [key, val] of Object.entries(opt.sort)) {
273
- var field_name = val.colId;
273
+ var field_name = val.field_id;
274
274
  opt.sort[key] = {
275
275
  ["udfData.data." + field_name]: val.sort,
276
276
  };