From cc77a9182c72ba248dd59d84548586d9e71e15b4 Mon Sep 17 00:00:00 2001 From: Kelly McDonald Date: Wed, 28 Apr 2021 10:37:14 -0400 Subject: [PATCH] Add filename to files listing. Fixes #297 --- crc/services/study_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crc/services/study_service.py b/crc/services/study_service.py index 749a4e14..7774d2cc 100644 --- a/crc/services/study_service.py +++ b/crc/services/study_service.py @@ -290,6 +290,7 @@ class StudyService(object): doc['files'] = [] for file in doc_files: doc['files'].append({'file_id': file.id, + 'name': file.name, 'workflow_id': file.workflow_id}) # update the document status to match the status of the workflow it is in.