Quote:
Originally Posted by inciarco
I noticed that the Search Results Only Show the Future Events, no matter if I Choose a Past Date on the Advanced Search.
Is it Possible to Include the Possibility to Include in the Search the Previous Events Too?
I Hope You Can Include that Feature on the Mod or Perhaps Indicate us what should we Change and where to Obtain those Complete Results.
Of Course I Voted for this Mod on this Mont's MOTM, I Like a lot this Feature on the Board. :up:
My Best Regards.

|
If you want to show previous dates you can modify this line 240
PHP Code:
$event_query = $db->query_read("SELECT ce.*, cu.username, cc.title AS CalendarName FROM " . TABLE_PREFIX . "event ce LEFT JOIN " . TABLE_PREFIX . "user cu ON ce.userid = cu.userid LEFT JOIN " . TABLE_PREFIX . "calendar cc ON ce.calendarid = cc.calendarid WHERE ce.visible = '1' && dateline_from > '$thisdate'" . $search_vars . " ORDER BY " . $chksort . " " . $chkorder . " LIMIT " . ($limitlower - 1) . ", " . $perpage);
Change it to
PHP Code:
$event_query = $db->query_read("SELECT ce.*, cu.username, cc.title AS CalendarName FROM " . TABLE_PREFIX . "event ce LEFT JOIN " . TABLE_PREFIX . "user cu ON ce.userid = cu.userid LEFT JOIN " . TABLE_PREFIX . "calendar cc ON ce.calendarid = cc.calendarid WHERE ce.visible = '1'" . $search_vars . " ORDER BY " . $chksort . " " . $chkorder . " LIMIT " . ($limitlower - 1) . ", " . $perpage);