@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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. 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
- $in: tags,
179
+ $all: tags,
179
180
  };
180
181
  }
181
182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1010",
3
+ "version": "1.1.1012",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {