Hi,
I went to the code and db, apparently the Time field is a text field so, when ascending, it start from 0 to 9. So, if hour is 8 am it will be after 10 am.
Do you plan to have this changed, my idea is to create a new time field (time format named ntime) and copy all the data from time to ntime then change the filter
public function get_events($date_filter=null, $cat_filter=null, $num_events=0, $sort_array=array(‘start_date ASC’, ‘time ASC’, ‘end_date ASC’))
to
public function get_events($date_filter=null, $cat_filter=null, $num_events=0, $sort_array=array(‘start_date ASC’, ‘ntime ASC’, ‘end_date ASC’))
Do you have any other idea?
Thanks