@xuda.io/drive_module 1.1.746 → 1.1.748

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1917,7 +1917,7 @@ exports.search_drive_files = async function (req) {
1917
1917
  file_ext,
1918
1918
  type,
1919
1919
  tags = [],
1920
- sort_by = "date",
1920
+ sort_by = "date_created",
1921
1921
  sort_dir = "desc",
1922
1922
  } = req;
1923
1923
 
@@ -1936,7 +1936,7 @@ exports.search_drive_files = async function (req) {
1936
1936
  let selector = {
1937
1937
  docType: `${drive_type}_drive`,
1938
1938
  stat: 3,
1939
- // $and: [],
1939
+ $and: [],
1940
1940
  };
1941
1941
 
1942
1942
  if (type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.746",
3
+ "version": "1.1.748",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {