Skip to content
Snippets Groups Projects
Unverified Commit fa86e491 authored by pawit-metabase's avatar pawit-metabase Committed by GitHub
Browse files

fix wrong data used for click actions in old pivot table (#17937)

In `getTableClickedObjectRowData`, we try to get the
original row of the data from the rowIndex but because
the rowIndex of the pivoted table and the original table
does not necessarily match, we get the wrong data.

This commit fixes it by storing a mapping between
pivoted (row, col) and the original row number and using
that to determine which row to use for the data.

Fixes #17920
parent ae25011f
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment