diff --git a/atlas/tables.py b/atlas/tables.py index 951c839f..3032fe38 100755 --- a/atlas/tables.py +++ b/atlas/tables.py @@ -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):