Closed darkpixel closed 9 years ago
Incidents that have been updated recently, but created more than a week ago are not showing up in the list.
kwargs.update({'incident_list': Incident.objects.filter(created__gt=date.today() - timedelta(days=7))})
should be
kwargs.update({'incident_list': Incident.objects.filter(updated__gt=date.today() - timedelta(days=7))})
Incidents that have been updated recently, but created more than a week ago are not showing up in the list.
should be