I tried changing this line in event_list.php from:
$sql .= $order_by != 'NULL' ? " ORDER BY " . $order_by . " ".$sort." " : " ORDER BY date(start_date), id ASC ";
to: sql . = $order_by != 'NULL'? " ORDER BY ". $order_by ." ASC " : " ORDER BY date(start_date), ese.start_time, id ASC "; from this gist by Josh (https://gist.github.com/joshfeck/5959121) but it didn’t work.
How can I get my events to display in order by time?
Thanks!
Kindra
Changed line 183 to $sql .= $order_by != 'NULL' ? " ORDER BY " . $order_by . " ".$sort." " : " ORDER BY date(start_date), ese.start_time, id ASC ";
Viewing 1 reply thread
The support post ‘Event List Display – Order by Time’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.