Skip to content

Commit

Permalink
Merge pull request #1808 from csordasmarton/fix-sql-query
Browse files Browse the repository at this point in the history
Fix SQL query
  • Loading branch information
gyorb authored Nov 8, 2018
2 parents 093280a + 11c69b0 commit e8b4c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcodechecker/server/api/report_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ def getRunHistoryTagCounts(self, run_ids, report_filter, cmp_data):
.outerjoin(count_q,
count_q.c.run_history_id == RunHistory.id) \
.filter(RunHistory.version_tag.isnot(None)) \
.group_by(tag_q.c.run_history_id) \
.group_by(tag_q.c.run_history_id, RunHistory.time) \
.order_by(RunHistory.time.desc())

for _, run_name, tag_id, version_time, tag, count in q:
Expand Down

0 comments on commit e8b4c61

Please sign in to comment.