Commit 2f2db695 authored by svilayphiou's avatar svilayphiou
Browse files

Make the date sorting as the homepage instead of theme sorting

parent e649da9b
......@@ -326,7 +326,7 @@ def home(request):
except Pad.DoesNotExist: # If there is no homepage defined we go to the login:
return HttpResponseRedirect(reverse('login'))
sort = 'theme'
sort = 'date'
if 'sort' in request.GET:
sort = request.GET['sort']
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