Skip to content

Commit 0c784f9

Browse files
committed
Added an ordering for Nominee objects.
- Legacy-Id: 12800
1 parent 996f781 commit 0c784f9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ietf/nomcom/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ class Nominee(models.Model):
114114
class Meta:
115115
verbose_name_plural = 'Nominees'
116116
unique_together = ('email', 'nomcom')
117+
ordering = ['-nomcom__group__acronym', 'email__address', ]
117118

118119
def __unicode__(self):
119120
if self.email.person and self.email.person.name:

0 commit comments

Comments
 (0)