Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions python/tk_multi_workfiles/actions/custom_file_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def _prepare_file_data_for_hook(file_versions):
work_file["modified_at"] = file.modified_at
work_file["modified_by"] = file.modified_by
work_file["read_only"] = not file.editable
work_file["sg_id"] = file.published_file_id
work_file["type"] = "work"
work_file_versions.append(work_file)
if file.is_published:
Expand All @@ -40,6 +41,7 @@ def _prepare_file_data_for_hook(file_versions):
publish["version"] = file.version
publish["published_at"] = file.published_at
publish["published_by"] = file.published_by
publish["sg_id"] = file.published_file_id
publish["type"] = "publish"
publish_versions.append(publish)

Expand Down