diff --git a/drakul/raids/models.py b/drakul/raids/models.py index b696db2..e11709d 100755 --- a/drakul/raids/models.py +++ b/drakul/raids/models.py @@ -93,7 +93,7 @@ class RaidResponse(models.Model): ) class Meta: - ordering = ["-status", "role", "character__klass", "character__name"] + ordering = ["-status", "role", "character__klass", "character__user__rank", "character__name"] constraints = [ models.UniqueConstraint(fields=["raid", "character"], name="unique_character_raid_signup") ] diff --git a/drakul/raids/templates/raids/raid_detail.html b/drakul/raids/templates/raids/raid_detail.html index 17dbce2..7f3d890 100644 --- a/drakul/raids/templates/raids/raid_detail.html +++ b/drakul/raids/templates/raids/raid_detail.html @@ -70,14 +70,22 @@ {% regroup role_responses by character.klass as class_responses_list %} {% for class, class_responses in class_responses_list %}