damirbk opened a new issue, #34024: URL: https://github.com/apache/superset/issues/34024
### Bug description I have a dataset with ISO 3166 alpha-2 (cca2) country codes. I can create a world map just fine with this. However, when I click on certain countries to filter in a dashboard, the filter applies the corresponding ISO 3166 alpha-3 (cca3) country code, rendering the filter useless. Steps to reproduce: 1. Make a dataset with cca2 country codes (e.g. 'CA', 'ZA', etc.) 2. Create a World Map chart based on that dataset, choose cca2 country codes for the "Country field type" and Save. 3. Add the World Map chart to a dashboard. 4. Add another chart that has cca2 country codes in the dataset. 5. Click on a country in the World Map chart, e.g. Canada. No rows will show in the other chart. After inspection through "View query", you will see that the filter that was applied was 'CAN' instead of 'CA'. ### Screenshots/recordings _No response_ ### Superset version 4.1.2 ### Python version 3.9 ### Node version 16 ### Browser Chrome ### Additional context _No response_ ### Checklist - [x] I have searched Superset docs and Slack and didn't find a solution to my problem. - [x] I have searched the GitHub issue tracker and didn't find a similar bug report. - [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
