* fixes bug where archived codes has been selectable due to recursive building of child-parent hierarchy
This commit is contained in:
mpeltriaux 2024-08-06 14:27:38 +02:00
parent 2cb77e89fe
commit a8eef6e793

View File

@ -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
) )