sort authority record by preferred_name
This commit is contained in:
parent
22de5a47ae
commit
da2770e1e3
|
@ -12,6 +12,9 @@ class AuthorityRecord(models.Model):
|
|||
uri = models.CharField(max_length=512)
|
||||
preferred_name = models.CharField(max_length=255)
|
||||
|
||||
class Meta:
|
||||
ordering = ['preferred_name']
|
||||
|
||||
def __unicode__(self):
|
||||
return self.preferred_name
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user