Fix ordering on the HR application

This commit is contained in:
2011-05-18 09:07:07 +01:00
parent 2e22a9663c
commit fccd7fa1f7
2 changed files with 3 additions and 3 deletions

View File

@@ -179,7 +179,7 @@ def admin_applications(request):
if 'o' in request.GET:
order = request.GET['o']
if order in ['id', 'corporation', 'character']:
if order in ['id', 'corporation__name', 'character__name']:
apps = apps.order_by(order)
if 'l' in request.GET: