From 7670766b4218a531421a9984fd13d831c9ed3ad2 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sat, 24 Aug 2013 15:22:34 +0200 Subject: Only show threads with attachments on them --- pgcommitfest/commitfest/ajax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pgcommitfest/commitfest/ajax.py') diff --git a/pgcommitfest/commitfest/ajax.py b/pgcommitfest/commitfest/ajax.py index 97d00a4..75fbc76 100644 --- a/pgcommitfest/commitfest/ajax.py +++ b/pgcommitfest/commitfest/ajax.py @@ -49,7 +49,7 @@ def getThreads(request): search = request.GET.has_key('s') and request.GET['s'] or None # Make a JSON api call to the archives server - r = _archivesAPI('/list/pgsql-hackers/latest.json', {'n': 100}) + r = _archivesAPI('/list/pgsql-hackers/latest.json', {'n': 100, 'a': 1}) if search: return sorted([x for x in r if x['subj'].lower().find(search)>=0 or x['from'].lower().find(search)>=0], key=lambda x: x['date'], reverse=True) else: -- cgit v1.2.3