@punks/backend-entity-manager 0.0.307 → 0.0.308
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/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -3034,7 +3034,7 @@ class QueryClauseBuilder {
|
|
|
3034
3034
|
clauses.push(typeorm.ILike(filter.eq));
|
|
3035
3035
|
}
|
|
3036
3036
|
if (!backendCore.isNullOrUndefined(filter?.like)) {
|
|
3037
|
-
clauses.push(typeorm.ILike(filter.like.replaceAll("*", "%")));
|
|
3037
|
+
clauses.push(typeorm.ILike(`%${filter.like.replaceAll("*", "%")}%`));
|
|
3038
3038
|
}
|
|
3039
3039
|
if (!backendCore.isNullOrUndefined(filter?.ne)) {
|
|
3040
3040
|
clauses.push(typeorm.Not(typeorm.Equal(filter.ne)));
|