From d00882eee7098b5781c5ead16da801d955847fa5 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 6 Dec 2021 12:58:44 +0000 Subject: [PATCH] . --- atlas/tables.py | 4 ++++ 1 file changed, 4 insertions(+) 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(