projects
/
pgcommitfest2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d0ac59
)
Let's try again, seems lighttpd behaves differently from manage.py
author
Magnus Hagander
<magnus@hagander.net>
Tue, 15 Jul 2014 19:07:34 +0000
(21:07 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Tue, 15 Jul 2014 19:07:34 +0000
(21:07 +0200)
pgcommitfest/commitfest/ajax.py
patch
|
blob
|
blame
|
history
diff --git
a/pgcommitfest/commitfest/ajax.py
b/pgcommitfest/commitfest/ajax.py
index d32ce916bfe04fcedef4661b93fa38bccbf1e587..06f6691cd4da44d777e31c4bd653c6be3da7c4ed 100644
(file)
--- a/
pgcommitfest/commitfest/ajax.py
+++ b/
pgcommitfest/commitfest/ajax.py
@@
-47,7
+47,10
@@
def _archivesAPI(suburl, params=None):
def getThreads(request):
search = request.GET.has_key('s') and request.GET['s'] or None
- attachonly = request.GET.has_key('a') and 1 or 0
+ if request.GET.has_key('a') and request.GET['a'] == "1":
+ attachonly = 1
+ else:
+ attachonly = 0
# Make a JSON api call to the archives server
params = {'n': 100, 'a': attachonly}