# HG changeset patch # User dfraser # Date 1253203095 0 # Node ID 8329bf139c6d34d8f3d8ce63eb030169e566e3eb # Parent 3cdce0142c4afd8000639c5c0059ad080e9e2761 Adding `report.id` to the `group by` to fix for postgresql - see #451 diff --git a/bitten/report/lint.py b/bitten/report/lint.py --- a/bitten/report/lint.py +++ b/bitten/report/lint.py @@ -45,7 +45,7 @@ from bitten_report as report left outer join bitten_build as build ON (report.build=build.id) where build.config='%s' and report.category='lint' -group by build.rev_time, build.rev, build.platform +group by build.rev_time, build.rev, build.platform, report.id order by build.rev_time;""" % (config.name,) #self.log.debug('sql=\'%s\'' % (query,))