Skip to content

Commit

Permalink
bug 717705 - fix hang report pagination, use equiv SQL for count and …
Browse files Browse the repository at this point in the history
…query
  • Loading branch information
rhelmer committed Jan 12, 2012
1 parent 1a8d6d5 commit d8adc7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socorro/services/hangReport.py
Expand Up @@ -50,7 +50,7 @@ def get(self, *args):
FROM hang_report
WHERE product = %(product)s
AND version = %(version)s
AND report_day > ((%(end)s)::DATE -%(duration)s)
AND report_day >= ((%(end)s)::DATE -%(duration)s)
LIMIT %(listsize)s
OFFSET %(offset)s"""

Expand Down

0 comments on commit d8adc7f

Please sign in to comment.