Skip to content

Always put provinces above results with same name like "x + deelgemeenten" to avoid a weird order#440

Merged
bertramakers merged 3 commits intomasterfrom
WID-588-fix-special-case-with-limburg
Oct 9, 2025
Merged

Always put provinces above results with same name like "x + deelgemeenten" to avoid a weird order#440
bertramakers merged 3 commits intomasterfrom
WID-588-fix-special-case-with-limburg

Conversation

@bertramakers
Copy link
Contributor

Changed

  • Matches on "Provincie ..." get a slightly higher score than "Regio ..." or "... + deelgemeenten" to avoid weird orders in edge cases like the attached screenshot (Limburg is also the Flemish name of a town in Wallonia and we don't want to mix the two in a seemingly "random" order)

Ticket: https://jira.publiq.be/browse/WID-588

Screenshot 2025-10-08 at 14 15 51

@bertramakers bertramakers merged commit 132dcb3 into master Oct 9, 2025
1 check passed
@bertramakers bertramakers deleted the WID-588-fix-special-case-with-limburg branch October 9, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants