Commit 4ce034d6 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

order job queues by timeout in the job creation form

parent 442f2e8e
Pipeline #45227 failed with stage
in 1 minute and 5 seconds
......@@ -109,7 +109,7 @@ class JobForm(forms.ModelForm):
label_suffix='',
help_text='Click "Choose file" to select and upload your job\'s input files')
queue_id = forms.ModelChoiceField(
queryset=JobQueue.objects.all().distinct(),
queryset=JobQueue.objects.all().distinct().order_by("timeout"),
initial=1,
label='Queue',
label_suffix='',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment