Not sure if this should be logged as bug or feature, however the issue right now is that on the UI we show the country and region as the full string value i.e IN is shown as India and IN-DL as Delhi, India.
Now for a user when they see the string as Delhi, India, the general sense would be that searching for Del would give Delhi, India as response but that is not the case because currently the search is done on the shortcode and not the full text.
You summarized the issue perfectly. We've been aware of the issue, and have a current task to fix this. Trying to get it out next release, but we are open to PRs as well.
Describe the Bug
Not sure if this should be logged as bug or feature, however the issue right now is that on the UI we show the country and region as the full string value i.e
IN
is shown asIndia
andIN-DL
asDelhi, India
.Now for a user when they see the string as
Delhi, India
, the general sense would be that searching forDel
would giveDelhi, India
as response but that is not the case because currently the search is done on the shortcode and not the full text.Attaching a screencast:
https://github.com/umami-software/umami/assets/30044630/9e0875aa-4305-4493-8d50-0f98bc753b95
Database
PostgreSQL
Relevant log output
No response
Which Umami version are you using? (if relevant)
2.11.1
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Docker