diff --git a/tailbone/views/departments.py b/tailbone/views/departments.py index 42913266..d0a3f33d 100644 --- a/tailbone/views/departments.py +++ b/tailbone/views/departments.py @@ -71,7 +71,7 @@ class DepartmentsView(MasterView): employees = AlchemyGrid('departments.employees', self.request, data=employees, model_class=model.Employee, main_actions=[ GridAction('view', icon='zoomin', - url=lambda x: self.request.route_url('employees.view', uuid=x.uuid)), + url=lambda r, i: self.request.route_url('employees.view', uuid=r.uuid)), ]) employees.configure(include=[employees.display_name], readonly=True) kwargs['employees'] = employees