ManhanGroup / calbuilds

Crowdsourcing authoritative info on recent & ongoing developments in California.
https://calbuilds.manhan.co/
0 stars 2 forks source link

initcap municipal before saving and lowercase before filter #136

Closed purpleplum closed 1 year ago

purpleplum commented 1 year ago

Resolves # 135.

Why is this change necessary?

Filtering on town/city like Salinas not working since filtering value for municipal was capitalized

How does it address the issue?

Make the filtering match case insensitive

What side effects does it have?

None

purpleplum commented 1 year ago

Needs further check to make sure the change doesn't have a conflict with the check of user municipality with development municipal in development policy.

purpleplum commented 1 year ago

Development policy seems to work as expected for verified municipal user.

kadie-weber commented 1 year ago

@purpleplum I caught this up to develop, so I wanted you to be able to double check it. Feel free to merge it if it looks good to you!

purpleplum commented 1 year ago

Looks good. Merged.