fixed a postgresql error in one of the queries

This commit is contained in:
BroodjeAap 2023-01-22 10:35:19 +00:00
parent af165c345a
commit a891504d5a

View file

@ -332,7 +332,7 @@ func (web *Web) index(c *gin.Context) {
Select("watches.id, max(filter_outputs.time) as time, filter_outputs.value").
Joins("left join filter_outputs on filter_outputs.watch_id = watches.id").
Order("filter_outputs.name").
Group("watches.id").
Group("watches.id, time, filter_outputs.value, filter_outputs.name").
Rows()
if err != nil {