diff --git a/app/hr/templates/hr/applications/admin/view_list.html b/app/hr/templates/hr/applications/admin/view_list.html index 548e9bc..c835356 100644 --- a/app/hr/templates/hr/applications/admin/view_list.html +++ b/app/hr/templates/hr/applications/admin/view_list.html @@ -13,8 +13,8 @@ {% if apps %} - - + + diff --git a/app/hr/views.py b/app/hr/views.py index bbf643e..8ba2837 100644 --- a/app/hr/views.py +++ b/app/hr/views.py @@ -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:
Application IDCharacterCorporationCharacterCorporation Application Status Last Action Date Last Action User