aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/utils.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-26 10:45:10 +0200
committerChocobozzz <me@florianbigard.com>2018-07-26 11:02:04 +0200
commit2cebd797014561ebc0bfee07ee8b5d83820adb66 (patch)
treefe912e29c7321c3c29e94691520615a741899e71 /server/models/utils.ts
parentc1e791bad0b079af67398f6407221e6dcbb573dd (diff)
downloadPeerTube-2cebd797014561ebc0bfee07ee8b5d83820adb66.tar.gz
PeerTube-2cebd797014561ebc0bfee07ee8b5d83820adb66.tar.zst
PeerTube-2cebd797014561ebc0bfee07ee8b5d83820adb66.zip
Fix last commit
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) {