Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Fix the country filter label when clicking on a country on the map (#3109)

Kris Buistc4316d61c69c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 76156021a4..12d63be988 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -33,6 +33,7 @@ All notable changes to this project will be documented in this file.
- Fix broken favicons when domain includes a slash
- Fix bug when using multiple [wildcard goal filters](https://github.com/plausible/analytics/pull/3015)
- Fix a bug where realtime would fail with imported data
+- Fix a bug where the country name was not shown when [filtering through the map](https://github.com/plausible/analytics/issues/3086)
### Changed
- Treat page filter as entry page filter for `bounce_rate`
diff --git a/assets/js/dashboard/stats/locations/map.js b/assets/js/dashboard/stats/locations/map.js
index 5c2f2b333d..a6c2f8dbfe 100644
--- a/assets/js/dashboard/stats/locations/map.js
+++ b/assets/js/dashboard/stats/locations/map.js
@@ -121,7 +121,7 @@ class Countries extends React.Component {
this.props.query,
{
country: country.code,
- country_name: country.name
+ country_labels: country.name
}
)
}