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