File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ def commitfest(request, cfid):
283
283
284
284
def patches_by_messageid (messageid ):
285
285
# First try to find the messageid in our database
286
- patches = Patch .objects .select_related ().filter (mailthread__messageid = messageid ).order_by ('created' , ).all ()
286
+ patches = Patch .objects .select_related ().filter (mailthread_set__messageid = messageid ).order_by ('created' , ).all ()
287
287
if patches :
288
288
return patches
289
289
@@ -300,7 +300,7 @@ def patches_by_messageid(messageid):
300
300
301
301
first_email = min (thread , key = lambda x : x ['date' ])
302
302
303
- return Patch .objects .select_related ().filter (mailthread__messageid = first_email ['msgid' ]).order_by ('created' ,).all ()
303
+ return Patch .objects .select_related ().filter (mailthread_set__messageid = first_email ['msgid' ]).order_by ('created' ,).all ()
304
304
305
305
306
306
def global_search (request ):
You can’t perform that action at this time.
0 commit comments