.
This commit is contained in:
@@ -163,6 +163,7 @@ class ConditionTable(tables.Table):
|
|||||||
|
|
||||||
synonym = tables.ManyToManyColumn(verbose_name="Synonyms")
|
synonym = tables.ManyToManyColumn(verbose_name="Synonyms")
|
||||||
synonym2 = tables.Column()
|
synonym2 = tables.Column()
|
||||||
|
s = tables.Column()
|
||||||
parent = tables.ManyToManyColumn(verbose_name="Parents")
|
parent = tables.ManyToManyColumn(verbose_name="Parents")
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
@@ -174,6 +175,9 @@ class ConditionTable(tables.Table):
|
|||||||
def render_synonym2(self, value, record):
|
def render_synonym2(self, value, record):
|
||||||
return f"{value}, {record.get_synonym()}"
|
return f"{value}, {record.get_synonym()}"
|
||||||
|
|
||||||
|
def render_s(self, value, record):
|
||||||
|
return f"{value}, {record.name}"
|
||||||
|
|
||||||
|
|
||||||
class FindingTable(tables.Table):
|
class FindingTable(tables.Table):
|
||||||
name = tables.Column(
|
name = tables.Column(
|
||||||
|
|||||||
Reference in New Issue
Block a user