From c15b85a3dbc9aecca6e4370b842ecf47c5e51d56 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Fri, 14 Jan 2011 10:53:21 +0000 Subject: [PATCH] Fix the limit clause on the admin list --- hr/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hr/views.py b/hr/views.py index 2420120..b68f62c 100644 --- a/hr/views.py +++ b/hr/views.py @@ -179,7 +179,7 @@ def admin_applications(request): apps = apps.order_by(order) if 'l' in request.GET: - limit = request.get['l'] + limit = request.GET['l'] apps = apps[:limit] return render_to_response('hr/applications/admin/view_list.html', locals(), context_instance=RequestContext(request))