diff --git a/conntrackt/models.py b/conntrackt/models.py --- a/conntrackt/models.py +++ b/conntrackt/models.py @@ -178,7 +178,7 @@ class Project(RelatedCollectorMixin, mod communications = [] # Process each communication, and add the information to result. - for communication in Communication.objects.filter(source__entity__project=self).select_related().order_by("source__entity__pk"): + for communication in Communication.objects.filter(source__entity__project=self).select_related(): communications.append({"source": communication.source.entity.name, "source_color": entity_colors[communication.source.entity.pk], "destination": communication.destination.entity.name,