Skip to content

Commit

Permalink
Favorite projects are now sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Hughes committed Dec 8, 2011
1 parent d007d01 commit ee3468e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrumdo-web/apps/organizations/views.py
Expand Up @@ -52,7 +52,7 @@ def organization_dashboard(request, organization_slug):

organizations = Organization.getOrganizationsForUser( request.user )

favorite_projects = Favorite.objects.filter(user=request.user, project__organization=organization).select_related('project')
favorite_projects = Favorite.objects.filter(user=request.user, project__organization=organization).select_related('project').order_by("-project__active","project__category","project__name")
favorite_projects = [fav.project for fav in favorite_projects]

stories = Story.getAssignedStories(request.user, organization)
Expand Down

0 comments on commit ee3468e

Please sign in to comment.