Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1209 | ordering children by mnemonic
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Feb 21, 2022
1 parent d6998ee commit 2188006
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/concepts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ def get(self, request, **kwargs): # pylint: disable=unused-argument

class ConceptChildrenView(ConceptBaseView, ListWithHeadersMixin):
serializer_class = ConceptChildrenSerializer
default_qs_sort_attr = 'mnemonic'

def get_queryset(self):
instance = super().get_queryset().filter(id=F('versioned_object_id')).first()
Expand Down

0 comments on commit 2188006

Please sign in to comment.