Skip to content

Commit

Permalink
OPHKIOS-71: Organizer info is not needed for public listing
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoivisto committed May 10, 2024
1 parent 17d28bc commit 58938de
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions resources/yki/queries.sql
Original file line number Diff line number Diff line change
Expand Up @@ -332,15 +332,6 @@ SELECT
FROM registration re
WHERE re.exam_session_id = e.id AND re.kind = 'POST_ADMISSION' AND re.state in ('COMPLETED', 'SUBMITTED', 'STARTED')) as pa_participants,
o.oid as organizer_oid,
(SELECT array_to_json(array_agg(contact_row))
FROM (SELECT
name,
email,
phone_number
FROM contact co
WHERE co.id = (SELECT esc.contact_id FROM exam_session_contact esc WHERE esc.exam_session_id = e.id AND deleted_at IS NULL LIMIT 1)
AND deleted_at IS NULL) contact_row
) as contact,
(SELECT array_to_json(array_agg(loc))
FROM (SELECT
name,
Expand Down

0 comments on commit 58938de

Please sign in to comment.