@smartsoft001/trans-shell-nestjs 2.146.0 → 2.147.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/index.js +1 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -929,10 +929,7 @@ var MongoItemRepository = class extends IItemRepository {
|
|
|
929
929
|
$text: { $search: ' "' + this.convertRegex(criteria["$search"]) + '" ' }
|
|
930
930
|
};
|
|
931
931
|
delete criteria["$search"];
|
|
932
|
-
criteria
|
|
933
|
-
...criteria,
|
|
934
|
-
...customCriteria
|
|
935
|
-
};
|
|
932
|
+
Object.assign(criteria, customCriteria);
|
|
936
933
|
}
|
|
937
934
|
convertIdInCriteria(criteria) {
|
|
938
935
|
if (criteria["id"]) {
|