* fixes bug where archived codes has been selectable due to recursive building of child-parent hierarchy
pull/425/head
mpeltriaux 2 months ago
parent 2cb77e89fe
commit a8eef6e793

@ -75,7 +75,8 @@ class KonovaCode(models.Model):
return self return self
children = KonovaCode.objects.filter( children = KonovaCode.objects.filter(
parent=self parent=self,
is_archived=False,
).order_by( ).order_by(
order_by order_by
) )

Loading…
Cancel
Save