Commit f71ac95f authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Fix group_list

parent a339f0e1
......@@ -752,8 +752,8 @@ def group_list(request):
d['own'].append(g)
else:
d['other'].append(g)
d.set_default('own', [])
d.set_default('other', [])
d.setdefault('own', [])
d.setdefault('other', [])
for k, l in d.iteritems():
page = request.GET.get('%s_page' % k, 1)
sorting = globals()['%s_sorting' % k] = request.GET.get('%s_sorting' % k)
......@@ -1122,4 +1122,3 @@ def timeline(request):
form=form,
timeline_header=timeline_header,
timeline_body=timeline_body)
l=l)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment