using javascript temporarily to limit the number of eventes for the ajax widget,
this will need to be fixed for future projects
} else if( isset( $_REQUEST['all_events'] ) ){
- $this->dateRangeTimes = "start_time >= CURDATE() AND end_time <= CURDATE() + INTERVAL 3 DAY ORDER BY start_time";
+ $this->dateRangeTimes = "end_time >= CURDATE() ORDER BY start_time";
$events = $this->getModelTimesData();
// $sql = "SELECT * FROM " . GLM_MEMBERS_EVENTS_PLUGIN_DB_PREFIX . "times WHERE end_time >= CURDATE() GROUP BY event ORDER BY start_time LIMIT 3;";