Not all countries appear in segment editor

Hi
When I want to filter by country some countries like “Mexico” doesn’t appear as a suggestion. But when I manually enter “Mexico” the segment works correctly. Can this bug be fixed? Right now we always have to open a country report to see how the countries are spelled.

Best
Janis

Hi,

This sounds a lot like this bug which is scheduled to be fixed in 4.4.0:
https://github.com/matomo-org/matomo/issues/15620

It seems like the suggestions only pick from 100 countries. It should not affect how the segment works, but it is inconvenient to get the spelling right.

If you want to fix it earlier, a Pull Request is very welcome.

Unfortunately I don’t code PHP otherwise I’d be happy to have a look. But it’s good that it’s already on the todo list. Even though 4.4.0 sound really far away… :sweat_smile: