Tweak relationship for Department._super_parents
				
					
				
			This commit is contained in:
		
							parent
							
								
									711a0b47fd
								
							
						
					
					
						commit
						56fd3a5a4b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue