Skip to content

Commit

Permalink
Markup issue query
Browse files Browse the repository at this point in the history
  • Loading branch information
gerdos82 committed Jan 17, 2025
1 parent 7186b2f commit 9a16f2b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions internal/search/datasources/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ func makeSearchQuery(index string, srid d.SRID) string {
SELECT to_tsquery('simple', $3) query
)
SELECT
rn.display_name as display_name,
rn.feature_id as feature_id,
rn.collection_id as collection_id,
rn.collection_version as collection_version,
rn.geometry_type as geometry_type,
st_transform(rn.bbox, %[2]d)::geometry as bbox,
rn.rank as rank,
rn.highlighted_text as highlighted_text
rn.display_name AS display_name,
rn.feature_id AS feature_id,
rn.collection_id AS collection_id,
rn.collection_version AS collection_version,
rn.geometry_type AS geometry_type,
st_transform(rn.bbox, %[2]d)::geometry AS bbox,
rn.rank AS rank,
rn.highlighted_text AS highlighted_text
FROM (
SELECT
*,
Expand Down

0 comments on commit 9a16f2b

Please sign in to comment.