Skip to content

Commit

Permalink
Merge pull request #510 from internetstandards/43
Browse files Browse the repository at this point in the history
fix show latest report by using correct order
  • Loading branch information
stitch authored May 13, 2024
2 parents c2b25b7 + 4d7b095 commit 06b122f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def get_latest_report_id_from_list_and_type(urllist_id: int, report_type: str =
if report_type in {"web", "mail"}:
report = report.filter(report_type=report_type)

found_report = report.first()
found_report = report.last()

return (
{'latest_report_public_report_code': found_report.public_report_code}
Expand Down

0 comments on commit 06b122f

Please sign in to comment.