@ngx-smz/core 21.7.1 → 21.7.2
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.
|
@@ -13493,9 +13493,16 @@ class SmzTableContextPipe {
|
|
|
13493
13493
|
}
|
|
13494
13494
|
}
|
|
13495
13495
|
if (column.filter.isGlobalFilterable) {
|
|
13496
|
-
|
|
13497
|
-
|
|
13498
|
-
|
|
13496
|
+
const globalFilterField = column.globalFilterField;
|
|
13497
|
+
const hasDedicatedGlobalFilterField = globalFilterField != null
|
|
13498
|
+
&& globalFilterField !== ''
|
|
13499
|
+
&& globalFilterField !== column.field;
|
|
13500
|
+
if (hasDedicatedGlobalFilterField) {
|
|
13501
|
+
globalFilter.push(globalFilterField);
|
|
13502
|
+
}
|
|
13503
|
+
else {
|
|
13504
|
+
globalFilter.push(column.field);
|
|
13505
|
+
}
|
|
13499
13506
|
}
|
|
13500
13507
|
columns.push(contextColumn);
|
|
13501
13508
|
}
|