Mercurial > gemma
diff pkg/controllers/gauges.go @ 3223:9e087a495f41
Fixed SQL statements. Got broken when migrated to new filter builder.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 09 May 2019 15:42:21 +0200 |
parents | eeff2cc4ff9d |
children | 232fc90e6ee2 |
line wrap: on
line diff
--- a/pkg/controllers/gauges.go Thu May 09 15:14:12 2019 +0200 +++ b/pkg/controllers/gauges.go Thu May 09 15:42:21 2019 +0200 @@ -642,7 +642,7 @@ buildFilterTerm( `date_issue = ( SELECT max(date_issue) FROM waterway.gauge_measurements - WHERE fk_gauge_id = ($%d::char(2), $%d::char(3), $%d::char(5), $%d::char(5), $%d::int)`, + WHERE fk_gauge_id = ($%d::char(2), $%d::char(3), $%d::char(5), $%d::char(5), $%d::int))`, isrs.CountryCode, isrs.LoCode, isrs.FairwaySection,