Fix only_full_group_by compilation error in SQL - #3216

This commit is contained in:
Dan Kasak 2023-02-21 12:49:54 +11:00 committed by Michael Mayer
parent 189fae6daf
commit add976881a

View file

@ -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)