diff options
author | Magnus Hagander | 2013-08-24 13:22:34 +0000 |
---|---|---|
committer | Magnus Hagander | 2013-08-24 13:22:34 +0000 |
commit | 7670766b4218a531421a9984fd13d831c9ed3ad2 (patch) | |
tree | 0a3fb6537b3b9e9d8e789bd7dac4eeee06f851e4 /pgcommitfest/commitfest/ajax.py | |
parent | 3f18edabfdc253d4816dabc2e04aa2f9faed5a7a (diff) |
Only show threads with attachments on them
Diffstat (limited to 'pgcommitfest/commitfest/ajax.py')
-rw-r--r-- | pgcommitfest/commitfest/ajax.py | 2 |
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: |