@topconsultnpm/sdkui-react-beta 6.16.42 → 6.16.43
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.
|
@@ -128,6 +128,11 @@ function addWhereClausesForConnect(qd) {
|
|
|
128
128
|
break;
|
|
129
129
|
}
|
|
130
130
|
qd.where ??= [];
|
|
131
|
+
// ( <filtri utente> ) AND FileCount > 0 [AND FileExt IN (....)]
|
|
132
|
+
if (qd.where.length > 2) {
|
|
133
|
+
qd.where[0].leftBrackets = '(' + qd.where[0].leftBrackets;
|
|
134
|
+
qd.where[qd.where.length - 1].rightBrackets += ')';
|
|
135
|
+
}
|
|
131
136
|
let wiFileCount = new WhereItem();
|
|
132
137
|
wiFileCount.tid = qd.from?.tid;
|
|
133
138
|
wiFileCount.mid = SystemMIDsAsNumber.FileCount;
|
|
@@ -148,11 +153,6 @@ function addWhereClausesForConnect(qd) {
|
|
|
148
153
|
wiFileExt.rightBrackets = ')';
|
|
149
154
|
qd.where.push(wiFileExt);
|
|
150
155
|
}
|
|
151
|
-
// ( <filtri utente> ) AND FileCount > 0 [AND FileExt IN (....)]
|
|
152
|
-
if (qd.where.length >= 2) {
|
|
153
|
-
qd.where[0].leftBrackets = '(' + qd.where[0].leftBrackets;
|
|
154
|
-
qd.where[qd.where.length - 1].rightBrackets += ')';
|
|
155
|
-
}
|
|
156
156
|
}
|
|
157
157
|
export function getDefaultOperator(dataDomain, dataType) {
|
|
158
158
|
if (dataDomain == MetadataDataDomains.DataList)
|