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

remove wildcard on street search #90

Merged
merged 2 commits into from
Jan 16, 2024
Merged

Conversation

warm-coolguy
Copy link
Member

Summary

See added file's scripts/overrideMasterportalapi.js for details. While this is a global change, I decided to document it in the Meldemichel, since it's the only client using this right now and the change results in a new Meldemichel beta release.

To save you the search, https://bitbucket.org/geowerkstatt-hamburg/masterportalapi/src/master/src/searchAddress/searchGazetteer.js is the file's current state. In case of masterportalapi update, we can do this properly.

Instructions for local reproduction and review

Install (to trigger postinstall) and run the client:meldemichel:dev. Should the changes not arrive, it may be required to add --force to the vite command in the root package.json once to avoid vite's cache, which plausibly does not detect manual module changes.

An interesting search is for "Roonstraße". This produced plausible results in the previous Meldemichel (and on current /prod), but produces weird results on the /stage system ("Liliencronstraße").

see added file `scripts/overrideMasterportalapi.js` for details
@warm-coolguy warm-coolguy added the bug Something isn't working label Jan 15, 2024
@warm-coolguy warm-coolguy self-assigned this Jan 15, 2024
Copy link
Member

@dopenguin dopenguin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small thing, works like a charm otherwise!

Great catch! 🏓 @warm-coolguy

Copy link
Member

@dopenguin dopenguin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@warm-coolguy warm-coolguy merged commit 4810caf into main Jan 16, 2024
1 check passed
@warm-coolguy warm-coolguy deleted the fix/unconfuse-search-results branch January 16, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants