Is there a bug with the event module that prevents it from displaying the event on the day of the event? My events disappear on event day. That's a bad thing. Or does anyone have a fix for this?

Thanks.

Comments

hadsie’s picture

I had to modify a query in events.module to get around this

Line 1737, from:
$result = db_query(db_rewrite_sql('SELECT n.nid, n.title, n.type, n.status, n.moderate, n.changed, e.event_start FROM {node} n INNER JOIN {event} e ON n.nid = e.nid WHERE n.status = 1 AND n.moderate = 0 AND e.event_start >= %d ORDER BY event_start'), $time);
To:
$result = db_query(db_rewrite_sql('SELECT n.nid, n.title, n.type, n.status, n.moderate, n.changed, e.event_start FROM {node} n INNER JOIN {event} e ON n.nid = e.nid WHERE n.status = 1 AND n.moderate = 0 AND e.event_end >= %d ORDER BY event_start'), $time);

Basically just changed event_start to event_end... there may be small glitches with this that I haven't considered, but it seems to work fine for me so far.

simon georges’s picture

Component: Basic Event » Code
Status: Active » Closed (won't fix)

This version of Event is not supported anymore. The issue is closed for this reason.

Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.