Workspace switcher query Mysql issue resolved (#1252)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
This commit is contained in:
parent
f6299e5116
commit
5faa669739
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ func (s *MattermostAuthLayer) GetUserWorkspaces(userID string) ([]model.UserWork
|
|||
|
||||
switch s.dbType {
|
||||
case mysqlDBType:
|
||||
nonTemplateFilter = "focalboard_blocks.fields LIKE %\"isTemplate\":false%"
|
||||
nonTemplateFilter = "focalboard_blocks.fields LIKE '%\"isTemplate\":false%'"
|
||||
case postgresDBType:
|
||||
nonTemplateFilter = "focalboard_blocks.fields ->> 'isTemplate' = 'false'"
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue