Skip to content
Snippets Groups Projects
Unverified Commit 1dcd65a1 authored by Maz Ameli's avatar Maz Ameli Committed by GitHub
Browse files

Merge pull request #9673 from metabase/issue-9636

Fix for dashboard multiseries with same column names
parents 1f5c0ed2 b5be4e9a
No related branches found
No related tags found
No related merge requests found
......@@ -405,7 +405,8 @@ function transformSingleSeries(s, series, seriesIndex) {
_transformed: true,
_seriesIndex: seriesIndex,
// use underlying column name as the seriesKey since it should be unique
_seriesKey: col ? col.name : name,
// EXCEPT for dashboard multiseries, so check seriesIndex == 0
_seriesKey: seriesIndex === 0 && col ? col.name : name,
},
data: {
rows: rows.map((row, rowIndex) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment