X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/293ecbd0f64bcdf5e89ab05c7000a8cea772e1f6..50218f3c76fc43de83da77dda0501b5aabffa4d4:/forum/models/node.py diff --git a/forum/models/node.py b/forum/models/node.py index 2299663..b375ec4 100644 --- a/forum/models/node.py +++ b/forum/models/node.py @@ -244,9 +244,9 @@ class Node(BaseModel, NodeContent): @property def absolute_parent(self): if not self.abs_parent_id: - return self.leaf + return self - return self.abs_parent.leaf + return self.abs_parent @property def summary(self):