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

allow look-ups by name that are restricted by area (e.g. a particular country) #55

Closed
mhl opened this issue Jan 22, 2013 · 1 comment
Closed
Labels

Comments

@mhl
Copy link
Contributor

mhl commented Jan 22, 2013

At the moment you can search for areas by a prefix (e.g. with /areas/cambr.html) but one can't restrict this search to a particular country. This might be useful to some people.

@dracos
Copy link
Member

dracos commented Oct 16, 2013

Lookups by type restricted to a country would probably be useful for FixMyStreet to e.g. not get all the O06s in the admin interface.

mhl added a commit that referenced this issue Oct 3, 2017
This change means that you can add '?country=E' (say) to queries for
multiple areas to restrict the results to those areas that have a
Country with code 'E'.

This should be particularly helpful for global.mapit.mysociety.org
if we set an appropriate Country for each Area, since one is almost
always interested in results from a particular country.

Fixes #55
mhl added a commit that referenced this issue Oct 3, 2017
This change means that you can add '?country=E' (say) to queries for
multiple areas to restrict the results to those areas that have a
Country with code 'E'.

This should be particularly helpful for global.mapit.mysociety.org
if we set an appropriate Country for each Area, since one is almost
always interested in results from a particular country.

Fixes #55
mhl added a commit that referenced this issue Oct 3, 2017
This change means that you can add '?country=E' (say) to queries for
multiple areas to restrict the results to those areas that have a
Country with code 'E'.

This should be particularly helpful for global.mapit.mysociety.org
if we set an appropriate Country for each Area, since one is almost
always interested in results from a particular country.

Fixes #55
dracos pushed a commit that referenced this issue Oct 12, 2017
This change means that you can add '?country=E' (say) to queries for
multiple areas to restrict the results to those areas that have a
Country with code 'E'.

This should be particularly helpful for global.mapit.mysociety.org
if we set an appropriate Country for each Area, since one is almost
always interested in results from a particular country.

Fixes #55
mhl added a commit that referenced this issue Oct 25, 2017
This change means that you can add '?country=E' (say) to queries for
multiple areas to restrict the results to those areas that have a
Country with code 'E'.

This should be particularly helpful for global.mapit.mysociety.org
if we set an appropriate Country for each Area, since one is almost
always interested in results from a particular country.

Fixes #55
mhl added a commit that referenced this issue Oct 26, 2017
This change means that you can add '?country=E' (say) to queries for
multiple areas to restrict the results to those areas that have a
Country with code 'E'.

This should be particularly helpful for global.mapit.mysociety.org
if we set an appropriate Country for each Area, since one is almost
always interested in results from a particular country.

Fixes #55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants