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

Make "county" a populated field for building address #615

Closed
ludtkemorgan opened this issue May 24, 2023 · 1 comment
Closed

Make "county" a populated field for building address #615

ludtkemorgan opened this issue May 24, 2023 · 1 comment

Comments

@ludtkemorgan
Copy link
Collaborator

All of our building addresses are stored in the address table that has the field county. This is not a field that we ask for on the partner site nor one that we have historically cared about. However, with doorway having a multi-county system they want the ability to filter by county and the ability to use this field for more targeted resources. Being that we have not mandated it and not had a way to add it only a few properties have this field populated in the table.

Recommended solution:

  • Create a mapping for jurisdiction to county (Alameda -> alameda, San Jose -> Santa Clara) in the code base
  • Update for on save to populate each building address with the above mapped county
  • Run a one time script to update all existing building addresses that don't have a county saved

Note this should only be done on HBA

@ludtkemorgan
Copy link
Collaborator Author

I forgot to move this ticket around when working on this. Completed with this commit #634

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

No branches or pull requests

1 participant