@7365admin1/module-hygiene 4.18.0 → 4.20.0
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/CHANGELOG.md +12 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -4823,7 +4823,7 @@ function useSupplyRepository() {
|
|
|
4823
4823
|
throw new import_node_server_utils22.BadRequestError("Invalid site ID format.");
|
|
4824
4824
|
}
|
|
4825
4825
|
if (search) {
|
|
4826
|
-
query
|
|
4826
|
+
query.name = { $regex: search, $options: "i" };
|
|
4827
4827
|
cacheOptions.search = search;
|
|
4828
4828
|
}
|
|
4829
4829
|
const cacheKey = (0, import_node_server_utils22.makeCacheKey)(namespace_collection, cacheOptions);
|
|
@@ -5551,7 +5551,7 @@ function useCheckOutItemRepository() {
|
|
|
5551
5551
|
throw new import_node_server_utils29.BadRequestError("Invalid site ID format.");
|
|
5552
5552
|
}
|
|
5553
5553
|
if (search) {
|
|
5554
|
-
query
|
|
5554
|
+
query.supplyName = { $regex: search, $options: "i" };
|
|
5555
5555
|
cacheOptions.search = search;
|
|
5556
5556
|
}
|
|
5557
5557
|
const cacheKey = (0, import_node_server_utils29.makeCacheKey)(namespace_collection, cacheOptions);
|