aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/utils.ts')
-rw-r--r--server/models/utils.ts2
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
78function searchTrigramNormalizeValue (value: string) { 78function 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
82function searchTrigramNormalizeCol (col: string) { 82function searchTrigramNormalizeCol (col: string) {