@topconsultnpm/sdkui-react-beta 6.16.40 → 6.16.42
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,11 +128,6 @@ 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
|
-
}
|
|
136
131
|
let wiFileCount = new WhereItem();
|
|
137
132
|
wiFileCount.tid = qd.from?.tid;
|
|
138
133
|
wiFileCount.mid = SystemMIDsAsNumber.FileCount;
|
|
@@ -153,6 +148,11 @@ function addWhereClausesForConnect(qd) {
|
|
|
153
148
|
wiFileExt.rightBrackets = ')';
|
|
154
149
|
qd.where.push(wiFileExt);
|
|
155
150
|
}
|
|
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)
|