Skip to content

Commit

Permalink
projects dropdown now sorted alphabetically (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
TPei committed Mar 13, 2015
1 parent 28421e7 commit e8d8a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tweap/user_management/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
def user_info(request):
projects = None
if request.user.is_authenticated():
projects = Project.objects.filter(members=request.user)
projects = Project.objects.filter(members=request.user).order_by('name')

return {
'username': request.user.username,
Expand Down

0 comments on commit e8d8a31

Please sign in to comment.