From 58938de64a58b7cabcd6807bb31620b1e9642c32 Mon Sep 17 00:00:00 2001 From: Pyry Koivisto Date: Fri, 10 May 2024 15:12:25 +0300 Subject: [PATCH] OPHKIOS-71: Organizer info is not needed for public listing --- resources/yki/queries.sql | 9 --------- 1 file changed, 9 deletions(-) diff --git a/resources/yki/queries.sql b/resources/yki/queries.sql index 411c23bc..8668e54e 100644 --- a/resources/yki/queries.sql +++ b/resources/yki/queries.sql @@ -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,