mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +00:00
Add ordering to the data issues model
This commit is contained in:
parent
23df89cf31
commit
ae284a1f30
@ -876,5 +876,8 @@ class DataIssue(TroggleModel):
|
||||
parser = models.CharField(max_length=50, blank=True, null=True)
|
||||
message = models.CharField(max_length=400, blank=True, null=True)
|
||||
|
||||
class Meta:
|
||||
ordering = ['date']
|
||||
|
||||
def __unicode__(self):
|
||||
return u"%s - %s" % (self.parser, self.message)
|
||||
|
Loading…
Reference in New Issue
Block a user