@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.
- package/index.js +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 = "
|
|
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
|
-
|
|
1939
|
+
$and: [],
|
|
1940
1940
|
};
|
|
1941
1941
|
|
|
1942
1942
|
if (type) {
|