SQL fix
parent
503c287e1a
commit
b1c568a2b6
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue