sea-chart 1.1.54 → 1.1.55
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.
|
@@ -641,7 +641,15 @@ export const getFilterConditions = (statisticRecord, chart, table) => {
|
|
|
641
641
|
const columnFilters = rows.map(row => getFilterByColumnType(config[columnKey], columns, [row], sqlGroupbyColumnKey));
|
|
642
642
|
filters.push(...columnFilters);
|
|
643
643
|
} else {
|
|
644
|
-
|
|
644
|
+
let columnFilter;
|
|
645
|
+
if (['map', 'map_bubble'].includes(type)) {
|
|
646
|
+
columnFilter = {
|
|
647
|
+
column_key: config[columnKey],
|
|
648
|
+
value: name
|
|
649
|
+
};
|
|
650
|
+
} else {
|
|
651
|
+
columnFilter = getFilterByColumnType(config[columnKey], columns, rows, sqlGroupbyColumnKey);
|
|
652
|
+
}
|
|
645
653
|
filters.push(columnFilter);
|
|
646
654
|
}
|
|
647
655
|
if (sqlColumnGroupbyColumnKey) {
|