@7365admin1/module-hygiene 4.19.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 +6 -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 +2 -2
package/dist/index.mjs
CHANGED
|
@@ -4805,7 +4805,7 @@ function useSupplyRepository() {
|
|
|
4805
4805
|
throw new BadRequestError18("Invalid site ID format.");
|
|
4806
4806
|
}
|
|
4807
4807
|
if (search) {
|
|
4808
|
-
query
|
|
4808
|
+
query.name = { $regex: search, $options: "i" };
|
|
4809
4809
|
cacheOptions.search = search;
|
|
4810
4810
|
}
|
|
4811
4811
|
const cacheKey = makeCacheKey6(namespace_collection, cacheOptions);
|
|
@@ -5554,7 +5554,7 @@ function useCheckOutItemRepository() {
|
|
|
5554
5554
|
throw new BadRequestError25("Invalid site ID format.");
|
|
5555
5555
|
}
|
|
5556
5556
|
if (search) {
|
|
5557
|
-
query
|
|
5557
|
+
query.supplyName = { $regex: search, $options: "i" };
|
|
5558
5558
|
cacheOptions.search = search;
|
|
5559
5559
|
}
|
|
5560
5560
|
const cacheKey = makeCacheKey8(namespace_collection, cacheOptions);
|