Deleting columns doesn't delete affiliated column title #12679
Labels
.Backend
.Correctness
Difficulty:Medium
Priority:P3
Cosmetic bugs, minor bugs with a clear workaround
.Team/QueryProcessor
:hammer_and_wrench:
Type:Bug
Product defects
Visualization/Chart Settings
.Wanted: MLv2
Issues that will be fixed (or easier to fix, or possible to fix) when we have MLv2
Describe the bug
When you have two of the same types of aggregations (e.g.
Avg of Price
andAvg of Rating
), if you renameAvg of Price
and then delete it,Avg of Rating
takes on the custom name that was applied toAvg of Price
.Logs
Only console log that comes up during this process is
On the server side:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Custom titles should be tied to specific metrics, not to the position of a metric in the results. E.g. if I rename
Sum of Price
toPrice!
and delete it, the header labelledPrice!
should go away too.Screenshots
Initial table
Renamed
Sum of Price
->Price!
Deleted
Sum of Price
Information about your Metabase Installation:
Severity
Since it's really a cosmetic issue, I think this is low severity. Many of our users don't bother to rename columns, anyway. It will mostly be annoying for the couple of Data Analysts on our team.
Additional context
sum_1
,sum_2
, etc.The text was updated successfully, but these errors were encountered: