Tweak relationship for Department._super_parents

This commit is contained in:
Lance Edgar 2020-08-20 14:41:38 -05:00
parent 711a0b47fd
commit 56fd3a5a4b

View file

@ -125,7 +125,7 @@ class SuperDepartmentView(base.DepartmentView):
return query
def get_parent(self, child):
return child._super_parent.parent
return child._super_parents[0].parent
def configure_row_grid(self, g):
super(SuperDepartmentView, self).configure_row_grid(g)