Fixes SQL

main
Yasen Pramatarov 2024-07-31 13:18:45 +03:00
parent 42f9738128
commit c011321403
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,9 @@ FROM
conferences c conferences c
LEFT JOIN LEFT JOIN
conference_events ce ON c.conference_id = ce.conference_id conference_events ce ON c.conference_id = ce.conference_id
WHERE (ce.time >= '%s 00:00:00' AND ce.time <= '%s 23:59:59')", WHERE
(ce.time >= '%s 00:00:00' AND ce.time <= '%s 23:59:59')
AND ce.conference_event = 'conference created'",
// search for a conference by its ID for a time period (if given) // search for a conference by its ID for a time period (if given)
@ -60,8 +62,6 @@ ORDER BY
pe.time;", pe.time;",
// list of conferences for time period (if given) // list of conferences for time period (if given)
// fields: component, duration, conference ID, conference name, number of participants, name count (the conf name is found), conference host // fields: component, duration, conference ID, conference name, number of participants, name count (the conf name is found), conference host
'conferences_all_formatted' => " 'conferences_all_formatted' => "