summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/ajax.py
diff options
context:
space:
mode:
authorMagnus Hagander2013-08-24 13:22:34 +0000
committerMagnus Hagander2013-08-24 13:22:34 +0000
commit7670766b4218a531421a9984fd13d831c9ed3ad2 (patch)
tree0a3fb6537b3b9e9d8e789bd7dac4eeee06f851e4 /pgcommitfest/commitfest/ajax.py
parent3f18edabfdc253d4816dabc2e04aa2f9faed5a7a (diff)
Only show threads with attachments on them
Diffstat (limited to 'pgcommitfest/commitfest/ajax.py')
-rw-r--r--pgcommitfest/commitfest/ajax.py2
1 files changed, 1 insertions, 1 deletions
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: