master #116

Merged
mpeltriaux merged 13 commits from master into 110_Biotope_codelists 2022-02-16 08:50:41 +01:00
Showing only changes of commit ed27d8d589 - Show all commits

View File

@ -188,7 +188,7 @@ class CompensationActionDetailCodeAutocomplete(KonovaCodeAutocomplete):
def order_by(self, qs): def order_by(self, qs):
return qs.order_by( return qs.order_by(
"parent__long_name" "long_name"
) )
@ -281,7 +281,7 @@ class BiotopeExtraCodeAutocomplete(KonovaCodeAutocomplete):
qs (QuerySet): The ordered queryset qs (QuerySet): The ordered queryset
""" """
return qs.order_by( return qs.order_by(
"parent__long_name", "long_name",
) )
def get_result_label(self, result): def get_result_label(self, result):