fix: ordering in queryset (#598)
This commit is contained in:
parent
5aad20e7ed
commit
9c4fcca6c1
5 changed files with 9 additions and 9 deletions
|
|
@ -104,7 +104,7 @@ class ModuleViewSet(BaseViewSet):
|
|||
filter=Q(issue_module__issue__state__group="backlog"),
|
||||
)
|
||||
)
|
||||
.order_by("name", "-is_favorite")
|
||||
.order_by("-is_favorite", "name")
|
||||
)
|
||||
|
||||
def create(self, request, slug, project_id):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue