diff options
Diffstat (limited to 'pgcommitfest/commitfest/views.py')
-rw-r--r-- | pgcommitfest/commitfest/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py index e268175..2c21cd3 100644 --- a/pgcommitfest/commitfest/views.py +++ b/pgcommitfest/commitfest/views.py @@ -250,9 +250,10 @@ ORDER BY is_open DESC, {1}""".format(where_str, orderby_str), params) 'header_activity_link': 'activity/', }) + def patches_by_messageid(messageid): # First try to find the messageid in our database - patches = Patch.objects.select_related().filter(mailthread__messageid=messageid).order_by('created',).all() + patches = Patch.objects.select_related().filter(mailthread__messageid=messageid).order_by('created', ).all() if patches: return patches |