Skip to content

Commit

Permalink
Remove unaccent
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Aug 7, 2024
1 parent e9e98ca commit 3521d37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ interface DBLogbookReportRepository :
AND (
:searchQuery IS NULL OR
unaccent(lower(lr.vessel_name)) ILIKE CONCAT('%', unaccent(lower(:searchQuery)), '%') OR
unaccent(lower(lr.cfr)) ILIKE CONCAT('%', unaccent(lower(:searchQuery)), '%')
lower(lr.cfr) ILIKE CONCAT('%', lower(:searchQuery), '%')
)
-- Will Arrive After
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ interface DBManualPriorNotificationRepository : JpaRepository<ManualPriorNotific
AND (
:searchQuery IS NULL OR
unaccent(lower(mpn.vessel_name)) ILIKE CONCAT('%', unaccent(lower(:searchQuery)), '%') OR
unaccent(lower(mpn.cfr)) ILIKE CONCAT('%', unaccent(lower(:searchQuery)), '%')
lower(mpn.cfr) ILIKE CONCAT('%', lower(:searchQuery), '%')
)
-- Will Arrive After
Expand Down

0 comments on commit 3521d37

Please sign in to comment.