mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
add & to chars that must be treated as spaces (#23786)
Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
parent
df43ee60e7
commit
d12812b6f3
@ -3561,7 +3561,7 @@ func (s SqlChannelStore) buildLIKEClauseX(term string, searchColumns ...string)
|
|||||||
return searchFields
|
return searchFields
|
||||||
}
|
}
|
||||||
|
|
||||||
const spaceFulltextSearchChars = "<>+-()~:*\"!@"
|
const spaceFulltextSearchChars = "<>+-()~:*\"!@&"
|
||||||
|
|
||||||
func (s SqlChannelStore) buildFulltextClause(term string, searchColumns string) (fulltextClause, fulltextTerm string) {
|
func (s SqlChannelStore) buildFulltextClause(term string, searchColumns string) (fulltextClause, fulltextTerm string) {
|
||||||
// Copy the terms as we will need to prepare them differently for each search type.
|
// Copy the terms as we will need to prepare them differently for each search type.
|
||||||
|
Loading…
Reference in New Issue
Block a user