@xuda.io/xuda-dbs-plugin-xuda 1.0.209 → 1.0.210
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.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.
|
273
|
+
var field_name = val.field_id;
|
274
274
|
opt.sort[key] = {
|
275
275
|
["udfData.data." + field_name]: val.sort,
|
276
276
|
};
|