diff --git a/dojo/filters.py b/dojo/filters.py index 09a6a5cfe2a..f6c4cc33b9e 100644 --- a/dojo/filters.py +++ b/dojo/filters.py @@ -1550,7 +1550,7 @@ def filter_mitigated_after(self, queryset, name, value): value = value.replace(hour=23, minute=59, second=59) return queryset.filter(mitigated__gt=value) - + def filter_mitigated_on(self, queryset, name, value): if value.hour == 0 and value.minute == 0 and value.second == 0: # we have a simple date without a time, lets get a range from this morning to tonight at 23:59:59:999