Commit 2f522c3a authored by ViolanteCodes's avatar ViolanteCodes
Browse files

changed sort order

parent e792db6c
......@@ -177,6 +177,10 @@ class CreateIssueForm(ModelForm):
GitLab Flavored Markdown (GFM)</a> on this form.""")
def __init__(self, *args, **kwargs):
super(CreateIssueForm, self).__init__(*args, **kwargs)
self.fields['linked_project'].queryset = self.fields['linked_project'].queryset.order_by('name_with_namespace')
# The following forms and formsets are used to created the 'moderator' view
class PendingIssueForm(forms.ModelForm):
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