diff --git a/public_html/classes/queries.php b/public_html/classes/queries.php index 9e05edd..e781508 100644 --- a/public_html/classes/queries.php +++ b/public_html/classes/queries.php @@ -11,7 +11,9 @@ FROM conferences c LEFT JOIN 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) @@ -60,8 +62,6 @@ ORDER BY pe.time;", - - // 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 'conferences_all_formatted' => "