@xuda.io/drive_module 1.1.1010 → 1.1.1012
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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -122,6 +122,7 @@ exports.get_drive_files = async function (req) {
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
if (search_string) {
|
|
125
|
+
let mix_conditions;
|
|
125
126
|
tags_query = search_string
|
|
126
127
|
.split(" ")
|
|
127
128
|
.filter((e) => e.includes(":"))
|
|
@@ -175,7 +176,7 @@ exports.get_drive_files = async function (req) {
|
|
|
175
176
|
|
|
176
177
|
if (tags?.length) {
|
|
177
178
|
opt.selector.tags = {
|
|
178
|
-
$
|
|
179
|
+
$all: tags,
|
|
179
180
|
};
|
|
180
181
|
}
|
|
181
182
|
|