Skip to content

Commit

Permalink
feat(web): Global search alias for 'Vinnumálastofnun' (#17204)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
RunarVestmann and kodiakhq[bot] authored Dec 12, 2024
1 parent 057fb9e commit de0bf4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/content-search-toolkit/src/queries/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export const searchQuery = (
// Handle aliases since the search engine has not been configured to support organization aliases
if (queryString.trim().toLowerCase() === 'tr') {
queryString = 'Tryggingastofnun'
} else if (queryString.trim().toLowerCase() === 'vmst') {
queryString = 'Vinnumálastofnun'
}

// * wildcard support for internal clients - eg. used by island.is app
Expand Down

0 comments on commit de0bf4c

Please sign in to comment.