diff --git a/internal/config/client.go b/internal/config/client.go index 188bdf12f..74dae8531 100644 --- a/internal/config/client.go +++ b/internal/config/client.go @@ -162,7 +162,8 @@ func (c *Config) ClientConfig() ClientConfig { Take(&count) db.Table("places"). - Select("(SUM(photo_count > 0) - 1) AS places"). + Select("SUM(photo_count > 0) AS places"). + Where("id != 'zz'"). Take(&count) type country struct {