Skip to content

Commit

Permalink
minister bills reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
prsnca committed Jan 7, 2015
1 parent 0f125fb commit 92ca1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion committeeVotes/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def bill(request, bill_id):

def minister_details(request, minister_id):
minister = get_object_or_404(Minister,pk=minister_id)
votes = Vote.objects.filter(minister=minister)
votes = Vote.objects.filter(minister=minister).order_by('-id')
context = {'minister': minister,
'votes': votes}
return render(request, 'committeeVotes/minister_detail.html', context)
Expand Down

0 comments on commit 92ca1be

Please sign in to comment.