# Bugfix
* fixes bug where archived codes has been selectable due to recursive building of child-parent hierarchy
This commit is contained in:
		
							parent
							
								
									2cb77e89fe
								
							
						
					
					
						commit
						a8eef6e793
					
				@ -75,7 +75,8 @@ class KonovaCode(models.Model):
 | 
			
		||||
            return self
 | 
			
		||||
 | 
			
		||||
        children = KonovaCode.objects.filter(
 | 
			
		||||
            parent=self
 | 
			
		||||
            parent=self,
 | 
			
		||||
            is_archived=False,
 | 
			
		||||
        ).order_by(
 | 
			
		||||
            order_by
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user