Skip to content

Commit

Permalink
Fix #39: Use default order for DFG in Application page
Browse files Browse the repository at this point in the history
  • Loading branch information
Alef-Burzmali committed Oct 14, 2024
1 parent d75b00a commit ac569fc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions netbox_data_flows/views/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@ def get_extra_context(self, request, instance):
"application",
"application__role",
"parent",
)
.annotate(
).annotate(
dataflow_count=Count("dataflows", distinct=True),
)
.order_by(*models.DataFlowGroup._meta.ordering)
)
dataflowgroups_table.configure(request)

Expand Down

0 comments on commit ac569fc

Please sign in to comment.