Skip to content
Closed
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
3 changes: 3 additions & 0 deletions api/src/Feature.Form.Submissions/GetByIdV2/Endpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ WITH submissions AS
(SELECT psi."Id" AS "SubmissionId",
'PSI' AS "FormType",
'PSI' AS "FormCode",
psi."FormName" as "FormName",
psi."PollingStationId",
psi."MonitoringObserverId",
psi."Answers",
Expand All @@ -55,6 +56,7 @@ UNION ALL
fs."Id" AS "SubmissionId",
f."FormType" AS "FormType",
f."Code" AS "FormCode",
f."FormName" as "FormName",
fs."PollingStationId",
fs."MonitoringObserverId",
fs."Answers",
Expand Down Expand Up @@ -94,6 +96,7 @@ UNION ALL
s."TimeSubmitted",
s."FormCode",
s."FormType",
s."FormName",
ps."Id" AS "PollingStationId",
ps."Level1",
ps."Level2",
Expand Down
Loading