diff --git a/source/app/datamgmt/case/case_db.py b/source/app/datamgmt/case/case_db.py index 3d9998ba7..7050943a4 100644 --- a/source/app/datamgmt/case/case_db.py +++ b/source/app/datamgmt/case/case_db.py @@ -110,7 +110,7 @@ def get_case_report_template(): Languages.name, CaseTemplateReport.description ).filter(and_( - Languages.id == CaseTemplateReport.report_type_id, + Languages.id == CaseTemplateReport.language_id, ReportType.name == "Investigation" )).join( CaseTemplateReport.report_type