New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Field custom mappings not working on (public) embedding #29346
Labels
Administration/Table Metadata
.Backend
Embedding/Public
Simple public iframe embeds
Priority:P2
Average run of the mill bug
Querying/Parameters & Variables
Filter widgets, field filters, variables etc.
.Reproduced
Issues reproduced in test (usually Cypress)
Type:Bug
Product defects
Milestone
Comments
paoliniluis
added
Type:Bug
Product defects
Priority:P2
Average run of the mill bug
Querying/Parameters & Variables
Filter widgets, field filters, variables etc.
Administration/Table Metadata
Embedding/Public
Simple public iframe embeds
labels
Mar 19, 2023
This was referenced Mar 20, 2023
Fixed by #30217 |
1 task
This was referenced May 26, 2023
Merged
This was referenced Feb 5, 2024
Merged
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Administration/Table Metadata
.Backend
Embedding/Public
Simple public iframe embeds
Priority:P2
Average run of the mill bug
Querying/Parameters & Variables
Filter widgets, field filters, variables etc.
.Reproduced
Issues reproduced in test (usually Cypress)
Type:Bug
Product defects
Describe the bug
If you do a custom mapping over a field, the field will display remapped in filters in normal dashboards, but it won't work in public embeddings
It seems that in public dashboards we're not considering that the field is remapped, and although the API call brings the remapped values, we don't show those in the FE:
Logs
NA
To Reproduce
go to settings->data model->orders-> change the data type to category and click on the gear on "quantity" field
remap a few quantities to words
create a new question with the orders table, add it to a dashboard
create a dropdown filter and connect it to quantity field
see the remapped values
now go to settings->admin and enable public sharing
go to sharing in the dashboard and use a public share, open the dashboard and see that the values are not remapped
Expected behavior
If a field is remapped we should see that as well
Screenshots/videos
Above
Information about your Metabase Installation:
Severity
P2
Additional context
NA
The text was updated successfully, but these errors were encountered: