mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 21:18:16 -06:00
Update netbox/extras/views.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
parent
a2086e7995
commit
7560f4a013
@ -1059,7 +1059,7 @@ class ReportView(ContentTypePermissionRequiredMixin, View):
|
||||
report = module.reports[name]()
|
||||
jobs = module.get_jobs(name)
|
||||
|
||||
report.result = jobs.exclude(
|
||||
report.result = jobs.filter(
|
||||
status__in=JobStatusChoices.TERMINAL_STATE_CHOICES
|
||||
).first()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user