@xuda.io/xuda-dbs-plugin-xuda 1.0.169 → 1.0.171
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/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.
|
3
|
+
"version": "1.0.171",
|
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
@@ -536,7 +536,7 @@ const get_opt = function (e, table_obj) {
|
|
536
536
|
// fill selector with sort field if not exist
|
537
537
|
for (let val of opt.sort) {
|
538
538
|
let field_id = Object.keys(val)[0];
|
539
|
-
if (opt.selector[field_id]) {
|
539
|
+
if (!opt.selector[field_id]) {
|
540
540
|
opt.selector[field_id] = { $gt: null };
|
541
541
|
}
|
542
542
|
}
|