mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Fix mentions for mixed case group names
This commit is contained in:
@@ -464,9 +464,9 @@ module PrettyText
|
||||
(
|
||||
SELECT
|
||||
:group_type AS type,
|
||||
name
|
||||
lower(name) AS name
|
||||
FROM groups
|
||||
WHERE name IN (:names) AND (#{Group.mentionable_sql_clause})
|
||||
WHERE lower(name) IN (:names) AND (#{Group.mentionable_sql_clause})
|
||||
)
|
||||
SQL
|
||||
|
||||
|
Reference in New Issue
Block a user