Fix only_full_group_by compilation error in SQL - #3216
This commit is contained in:
parent
189fae6daf
commit
add976881a
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ func (c *Config) ClientUser(withSettings bool) ClientConfig {
|
|||
Select("l.label_uid, l.custom_slug, l.label_name").
|
||||
Joins("JOIN labels l ON categories.category_id = l.id").
|
||||
Where("l.deleted_at IS NULL").
|
||||
Group("l.custom_slug").
|
||||
Group("l.custom_slug, l.label_uid, l.label_name").
|
||||
Order("l.custom_slug").
|
||||
Limit(1000).Offset(0).
|
||||
Scan(&cfg.Categories)
|
||||
|
|
Loading…
Add table
Reference in a new issue