Skip to content

Commit

Permalink
Merge pull request #632 from Vladimir-A/fix_report_template_language
Browse files Browse the repository at this point in the history
[FIX] report template language
  • Loading branch information
whikernel authored Nov 4, 2024
2 parents e2e0266 fd6f8fe commit 45bd397
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy/kubernetes/charts/templates/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 59,7 @@ spec:
value: {{ .Values.postgres.POSTGRES_DB | quote }}

- name: POSTGRES_USER # Setting Database username
value: {{ .Values.postgres.POSTGRES_ADMIN_USER | quote }}
value: {{ .Values.postgres.POSTGRES_USER | quote }}

- name: POSTGRES_PASSWORDD # Setting Database password
value: {{ .Values.postgres.POSTGRES_PASSWORD | quote }}
Expand Down Expand Up @@ -101,4 101,4 @@ spec:
- port: {{ .Values.postgres.service.port }}
selector:
app: {{ .Values.postgres.app }}
---
---
2 changes: 1 addition & 1 deletion source/app/datamgmt/case/case_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45bd397

Please sign in to comment.