diff --git a/codelist/models.py b/codelist/models.py index 5d06172..a5b91a3 100644 --- a/codelist/models.py +++ b/codelist/models.py @@ -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 )