Skip to content

Commit

Permalink
fix: provider and feed name added back to document
Browse files Browse the repository at this point in the history
  • Loading branch information
cka-y committed Jul 31, 2024
1 parent 4260fa8 commit 243d9a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions liquibase/changes/feat_618_2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ SELECT
FeedSubdivisionNameTranslationJoin.translations AS subdivision_name_translations,
FeedMunicipalityTranslationJoin.translations AS municipality_translations,
-- full-text searchable document
setweight(to_tsvector('english', coalesce(unaccent(Feed.feed_name), '')), 'C') ||
setweight(to_tsvector('english', coalesce(unaccent(Feed.provider), '')), 'C') ||
setweight(to_tsvector('english', coalesce(unaccent((
SELECT string_agg(
coalesce(location->>'country_code', '') || ' ' ||
Expand Down

0 comments on commit 243d9a2

Please sign in to comment.