diff --git a/atlas/tables.py b/atlas/tables.py index 3b7c9297..186e8fa8 100755 --- a/atlas/tables.py +++ b/atlas/tables.py @@ -163,6 +163,7 @@ class ConditionTable(tables.Table): synonym = tables.ManyToManyColumn(verbose_name="Synonyms") synonym2 = tables.Column() + s = tables.Column() parent = tables.ManyToManyColumn(verbose_name="Parents") class Meta: @@ -174,6 +175,9 @@ class ConditionTable(tables.Table): def render_synonym2(self, value, record): return f"{value}, {record.get_synonym()}" + def render_s(self, value, record): + return f"{value}, {record.name}" + class FindingTable(tables.Table): name = tables.Column(