@openhi/constructs 0.0.179 → 0.0.180
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.
|
@@ -11408,7 +11408,8 @@ function combineSearchPredicates(opts) {
|
|
|
11408
11408
|
if (fragmentSqls.length === 1) {
|
|
11409
11409
|
groupSqls.push(fragmentSqls[0]);
|
|
11410
11410
|
} else {
|
|
11411
|
-
|
|
11411
|
+
const joiner = registered.type === "date" ? " AND " : " OR ";
|
|
11412
|
+
groupSqls.push(`(${fragmentSqls.join(joiner)})`);
|
|
11412
11413
|
}
|
|
11413
11414
|
}
|
|
11414
11415
|
if (groupSqls.length === 0) {
|