Skip to content
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

Search should support full country names as opposed to country codes #160

Open
greatislander opened this issue Oct 8, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@greatislander
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently it's only possible to search for countries by two-letter country codes (e.g. UK, US, CA).

Describe the solution you'd like

Search by country name our approximate country name should be supported.

Describe alternatives you've considered

Filtering by country could also help narrow down results (see #51).

Additional context

This is not supported by the upstream library that's used in the directory. See: SmileyChris/django-countries#242. Because countries are stored in the database by country code, a data normalization step as described in SmileyChris/django-countries#242 (comment) needs to be added to support fuzzy search by country name.

@greatislander greatislander added the enhancement New feature or request label Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant