SQL fix
parent
503c287e1a
commit
b1c568a2b6
|
@ -25,12 +25,12 @@ SELECT DISTINCT
|
|||
AS end,
|
||||
c.conference_id,
|
||||
c.conference_name,
|
||||
(SELECT COUNT(pe.participant_id) AS participants
|
||||
(SELECT COUNT(pe.participant_id)
|
||||
FROM participant_events pe
|
||||
WHERE
|
||||
pe.event_type = 'participant joining'
|
||||
AND
|
||||
pe.event_param = c.conference_id),
|
||||
pe.event_param = c.conference_id) AS participants,
|
||||
name_counts.name_count,
|
||||
c.conference_host
|
||||
FROM
|
||||
|
|
|
@ -27,6 +27,7 @@ try {
|
|||
'end' => $end,
|
||||
'conference_id' => $conference_id,
|
||||
'conference_name' => $conference_name,
|
||||
// 'participants' => $participants,
|
||||
'participants' => $participants,
|
||||
'name_count' => $name_count,
|
||||
'conference_host' => $conference_host
|
||||
|
|
Loading…
Reference in New Issue