diff options
Diffstat (limited to 'server/models/utils.ts')
-rw-r--r-- | server/models/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/utils.ts b/server/models/utils.ts index 393f8f036..99e146583 100644 --- a/server/models/utils.ts +++ b/server/models/utils.ts | |||
@@ -76,7 +76,7 @@ export { | |||
76 | // --------------------------------------------------------------------------- | 76 | // --------------------------------------------------------------------------- |
77 | 77 | ||
78 | function searchTrigramNormalizeValue (value: string) { | 78 | function searchTrigramNormalizeValue (value: string) { |
79 | return Sequelize.fn('lower', Sequelize.fn('unaccent', value)) | 79 | return Sequelize.fn('lower', Sequelize.fn('immutable_unaccent', value)) |
80 | } | 80 | } |
81 | 81 | ||
82 | function searchTrigramNormalizeCol (col: string) { | 82 | function searchTrigramNormalizeCol (col: string) { |