Skip to content

Commit

Permalink
Merge pull request #64 from hmrc/correct-non-uk-search-column
Browse files Browse the repository at this point in the history
NOJIRA: Fix name of fulltext search column
  • Loading branch information
Ardesco authored May 18, 2022
2 parents 74224cc + bc94ea3 commit 1e3a4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/repositories/PostgresNonABPAddressRepository.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PostgresNonABPAddressRepository @Inject()(transactor: Transactor[IO], quer
s"""
|SELECT cip_id, number, street, unit, city, district, region, postcode
| FROM $countryCode
| WHERE address_lookup_ft_col @@ plainto_tsquery('english', '$filter')
| WHERE nonuk_address_lookup_ft_col @@ plainto_tsquery('english', '$filter')
| LIMIT ${queryConfig.queryResultsLimit};""".stripMargin)

(for {
Expand Down

0 comments on commit 1e3a4b9

Please sign in to comment.