Skip to content

Commit 8a5e302

Browse files
committed
Corrected the nominee ordering change.
- Legacy-Id: 15533
1 parent 64ba033 commit 8a5e302

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

ietf/nomcom/models.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class Nominee(models.Model):
121121
class Meta:
122122
verbose_name_plural = 'Nominees'
123123
unique_together = ('email', 'nomcom')
124-
ordering = ['-nomcom__group__acronym', 'email__address', ]
124+
ordering = ['-nomcom__group__acronym', 'person__name', ]
125125

126126
def __unicode__(self):
127127
if self.email.person and self.email.person.name:
@@ -135,10 +135,6 @@ def name(self):
135135
else:
136136
return self.email.address
137137

138-
class Meta:
139-
ordering = ['person__name', ]
140-
141-
142138
class NomineePosition(models.Model):
143139

144140
position = ForeignKey('Position')

0 commit comments

Comments
 (0)