This commit is contained in:
Ross
2021-12-05 18:47:50 +00:00
parent 088369e0a5
commit ddb417495f
+3 -3
View File
@@ -136,7 +136,7 @@ class ConditionTable(tables.Table):
#edit = tables.LinkColumn(
# "atlas:condition_update", text="Edit", args=[A("pk")], orderable=False
#)
edit = tables.LinkColumn(
name = tables.LinkColumn(
"atlas:condition_update", text=A("name"), args=[A("pk")], orderable=False
)
view = tables.LinkColumn(
@@ -153,8 +153,8 @@ class ConditionTable(tables.Table):
class Meta:
model = Condition
template_name = "django_tables2/bootstrap4.html"
fields = ("name", "primary", "subspecialty")
sequence = ()
fields = "primary", "subspecialty")
sequence = ("name")
class FindingTable(tables.Table):