projects
/
pgcommitfest2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f18eda
)
Only show threads with attachments on them
author
Magnus Hagander
<magnus@hagander.net>
Sat, 24 Aug 2013 13:22:34 +0000
(15:22 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Sat, 24 Aug 2013 13:22:34 +0000
(15:22 +0200)
pgcommitfest/commitfest/ajax.py
patch
|
blob
|
blame
|
history
diff --git
a/pgcommitfest/commitfest/ajax.py
b/pgcommitfest/commitfest/ajax.py
index 97d00a4a578f842223ac6180e118213e32b6e8bf..75fbc76d38ca82f702a1a6140e939019b7600863 100644
(file)
--- 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: