av6-core 1.5.2 → 1.5.3
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/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -698,9 +698,9 @@ var commonRepository = (serviceDeps) => {
|
|
|
698
698
|
}
|
|
699
699
|
searchOR = transformData(searchOR);
|
|
700
700
|
}
|
|
701
|
-
|
|
702
|
-
if (searchOR
|
|
703
|
-
whereClause
|
|
701
|
+
let whereClause = rootCondition;
|
|
702
|
+
if (searchOR?.length) {
|
|
703
|
+
whereClause = smartAndMerge(whereClause, { OR: searchOR });
|
|
704
704
|
}
|
|
705
705
|
const orderByClause = {};
|
|
706
706
|
if (sortBy && sortDir) {
|
package/dist/index.mjs
CHANGED
|
@@ -648,9 +648,9 @@ var commonRepository = (serviceDeps) => {
|
|
|
648
648
|
}
|
|
649
649
|
searchOR = transformData(searchOR);
|
|
650
650
|
}
|
|
651
|
-
|
|
652
|
-
if (searchOR
|
|
653
|
-
whereClause
|
|
651
|
+
let whereClause = rootCondition;
|
|
652
|
+
if (searchOR?.length) {
|
|
653
|
+
whereClause = smartAndMerge(whereClause, { OR: searchOR });
|
|
654
654
|
}
|
|
655
655
|
const orderByClause = {};
|
|
656
656
|
if (sortBy && sortDir) {
|