Skip to content

Commit

Permalink
Fix table displaying target workspace name
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Nov 9, 2023
1 parent 21d0195 commit 5fd7a5b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions primed/miscellaneous_workspaces/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@ class DataPrepWorkspaceTable(tables.Table):
"""Class to render a table of Workspace objects with DataPrepWorkspace workspace data."""

name = tables.columns.Column(linkify=True)
target_workspace = tables.columns.Column(linkify=True)
# TODO: Figure out why this is not showing up
dataprepworkspace__target_workspace__name = tables.columns.Column(
linkify=True, verbose_name="Target workspace"
)

class Meta:
model = Workspace
fields = (
"name",
"target_workspace",
"dataprepworkspace__target_workspace__name",
)
order_by = ("name",)

0 comments on commit 5fd7a5b

Please sign in to comment.