Rearrange filter form field groups

This commit is contained in:
Jeremy Stretch 2026-08-05 14:48:18 -04:00
parent da1db0055d
commit 19bdc9c7f7
1 changed files with 5 additions and 3 deletions

View File

@ -75,12 +75,14 @@ class JobFilterForm(SavedFiltersMixin, FilterForm):
model = Job
fieldsets = (
FieldSet('q', 'filter_id'),
FieldSet('object_type_id', 'status', 'queue_name', name=_('Attributes')),
FieldSet('object_type_id', 'status', 'queue_name', 'user', name=_('Attributes')),
FieldSet(
'created__before', 'created__after', 'scheduled__before', 'scheduled__after', 'started__before',
'started__after', 'completed__before', 'completed__after', 'user', name=_('Creation')
'started__after', name=_('Scheduling')
),
FieldSet(
'completed__before', 'completed__after', 'execution_time__gte', 'execution_time__lte', name=_('Execution'),
),
FieldSet('execution_time__gte', 'execution_time__lte', name=_('Execution')),
)
object_type_id = ContentTypeChoiceField(
label=_('Object Type'),