main
Yasen Pramatarov 2024-07-04 18:26:50 +03:00
parent 503c287e1a
commit b1c568a2b6
2 changed files with 3 additions and 2 deletions

View File

@ -25,12 +25,12 @@ SELECT DISTINCT
AS end, AS end,
c.conference_id, c.conference_id,
c.conference_name, c.conference_name,
(SELECT COUNT(pe.participant_id) AS participants (SELECT COUNT(pe.participant_id)
FROM participant_events pe FROM participant_events pe
WHERE WHERE
pe.event_type = 'participant joining' pe.event_type = 'participant joining'
AND AND
pe.event_param = c.conference_id), pe.event_param = c.conference_id) AS participants,
name_counts.name_count, name_counts.name_count,
c.conference_host c.conference_host
FROM FROM

View File

@ -27,6 +27,7 @@ try {
'end' => $end, 'end' => $end,
'conference_id' => $conference_id, 'conference_id' => $conference_id,
'conference_name' => $conference_name, 'conference_name' => $conference_name,
// 'participants' => $participants,
'participants' => $participants, 'participants' => $participants,
'name_count' => $name_count, 'name_count' => $name_count,
'conference_host' => $conference_host 'conference_host' => $conference_host