* 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 b62c2e92c9
commit 2fde3f0fa3

View File

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