summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/models.py
diff options
context:
space:
mode:
authorMagnus Hagander2014-07-14 16:11:17 +0000
committerMagnus Hagander2014-07-14 16:11:17 +0000
commit4bc1290965b39a0e09285c7e9235257fd1d16efe (patch)
tree75707ff51ba6d5afa4408ee07abd693e7b688c33 /pgcommitfest/commitfest/models.py
parenta34c78278bf6128a489530bf3ef2d6560ac799ce (diff)
Add ability to do global searches
Diffstat (limited to 'pgcommitfest/commitfest/models.py')
-rw-r--r--pgcommitfest/commitfest/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/models.py b/pgcommitfest/commitfest/models.py
index 39e2d34..284c3d5 100644
--- a/pgcommitfest/commitfest/models.py
+++ b/pgcommitfest/commitfest/models.py
@@ -168,6 +168,7 @@ class PatchOnCommitFest(models.Model):
class Meta:
unique_together = (('patch', 'commitfest',),)
+ ordering = ('-commitfest__startdate', )
class PatchHistory(models.Model):
patch = models.ForeignKey(Patch, blank=False, null=False)