From 564e2097bb81305f27167bb6ca2e454e5a9bf0ba Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Fri, 24 Apr 2020 15:33:40 +0100 Subject: [PATCH] Fix name of started_at filter in tasks report --- wagtail/admin/filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wagtail/admin/filters.py b/wagtail/admin/filters.py index 7df37d06ce..a713be6c15 100644 --- a/wagtail/admin/filters.py +++ b/wagtail/admin/filters.py @@ -229,7 +229,7 @@ class WorkflowReportFilterSet(WagtailFilterSet): class WorkflowTasksReportFilterSet(WagtailFilterSet): - created_at = django_filters.DateFromToRangeFilter(label=_("Started at"), widget=DateRangePickerWidget) + started_at = django_filters.DateFromToRangeFilter(label=_("Started at"), widget=DateRangePickerWidget) finished_at = django_filters.DateFromToRangeFilter(label=_("Completed at"), widget=DateRangePickerWidget) workflow = django_filters.ModelChoiceFilter( field_name='workflow_state__workflow', queryset=Workflow.objects.all(), label=_("Workflow") @@ -243,4 +243,4 @@ class WorkflowTasksReportFilterSet(WagtailFilterSet): class Meta: model = TaskState - fields = ['workflow', 'task', 'status', 'created_at', 'finished_at'] + fields = ['workflow', 'task', 'status', 'started_at', 'finished_at']