Fix the limit clause on the admin list

This commit is contained in:
2011-01-14 10:53:21 +00:00
parent 692d9ffdc9
commit c15b85a3db

View File

@@ -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))