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

Add Geographical filtering #20

Open
dragonmantank opened this issue May 24, 2015 · 1 comment
Open

Add Geographical filtering #20

dragonmantank opened this issue May 24, 2015 · 1 comment

Comments

@dragonmantank
Copy link
Member

dragonmantank commented May 24, 2015

Be able to filter people by geographical location

@martarf
Copy link

martarf commented Jul 20, 2015

I'm starting to work on this issue (unless someone already started with it) and I have some questions about it:

  1. The user's profile form will have new inputs for their country/state/city info
  2. In order to do that, we need new fields in the users table with country_id, state_id and city and new tables with the possible country/states
  3. Next to the tags-filter a "Location"-filter will be added
  4. To make this filter work the info for "Location" should be added in the json returned by the api

Do we ask for country/state/city only? Or will we need an address too?
I've prepared a migration to populate the country and state tables but I believe this is not the best option. Maybe someone has a better idea of how to do this.

If I am missing something, please let me know.Thanks!

martarf pushed a commit to martarf/webapp that referenced this issue Jul 20, 2015
…ces. The user profile now contains country,state and city info if provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants