aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc')
-rw-r--r--pyblackbird_cc/resources/forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyblackbird_cc/resources/forms.py b/pyblackbird_cc/resources/forms.py
index be90a00..41ad3c8 100644
--- a/pyblackbird_cc/resources/forms.py
+++ b/pyblackbird_cc/resources/forms.py
@@ -161,6 +161,7 @@ class ResourceUpdateMetadataForm(forms.ModelForm):
super().__init__(*args, **kwargs)
self.helper = FormHelper(self)
self.helper.add_input(Submit("submit", "Submit"))
+ self.fields['subcategories'].queryset = ResourceSubcategory.objects.all().order_by('name')
error_css_class = "error"
required_css_class = "required"