From c0983db5c8591cd77770e5c673fe739725b871a9 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 6 Dec 2021 13:06:43 +0000 Subject: [PATCH] . --- atlas/tables.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/atlas/tables.py b/atlas/tables.py index 1fa8aef9..cba94449 100755 --- a/atlas/tables.py +++ b/atlas/tables.py @@ -161,9 +161,8 @@ class ConditionTable(tables.Table): ) selection = tables.CheckBoxColumn(accessor="pk", orderable=False) - synonym = tables.ManyToManyColumn(verbose_name="Synonyms") - synonym2 = tables.Column(empty_values=()) - s = tables.Column(empty_values=()) + #synonym = tables.ManyToManyColumn(verbose_name="Synonyms") + synonym = tables.Column(empty_values=()) parent = tables.ManyToManyColumn(verbose_name="Parents") class Meta: @@ -172,11 +171,8 @@ class ConditionTable(tables.Table): fields = ("primary", "subspecialty") sequence = ("name",) - def render_synonym2(self, value, record): - return f"{value}, {record.get_synonym()}" - - def render_s(self, value, record): - return f"{value}, {record.name}" + def render_synonym(self, value, record): + return f"{record.get_synonym()}" class FindingTable(tables.Table):