0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Fix name of started_at filter in tasks report

This commit is contained in:
Matt Westcott 2020-04-24 15:33:40 +01:00 committed by Matt Westcott
parent 8b1a304533
commit 564e2097bb

View File

@ -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']