Fix employees grid when viewing department (per oruga)
This commit is contained in:
parent
68384a00dc
commit
15fedf5976
|
@ -129,6 +129,7 @@ class DepartmentView(MasterView):
|
||||||
factory = self.get_grid_factory()
|
factory = self.get_grid_factory()
|
||||||
g = factory(
|
g = factory(
|
||||||
key='{}.employees'.format(route_prefix),
|
key='{}.employees'.format(route_prefix),
|
||||||
|
request=self.request,
|
||||||
data=[],
|
data=[],
|
||||||
columns=[
|
columns=[
|
||||||
'first_name',
|
'first_name',
|
||||||
|
|
Loading…
Reference in a new issue