New Same Day Events Need to be Ordered by Time of

7 years 2 weeks ago #1508 by ponyack
Hi,

If you add two events on the same day they are not ordered by time of event but by date created.

Can this be resolved?

Thanks,

John

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago #1510 by sysgenmedia
Replied by sysgenmedia on topic New Same Day Events Need to be Ordered by Time of
I think this is a bug if you are referring to the month view. Try the following...

In the file components/com_imagecalendar/models/calendar.php

On Line 107, add to the end: .$this->_addOrderBy(); so that it reads:

$query = $this->_buildQuery().$this->_AddWhere(1, $month, $year, $categories).$this->_addOrderBy();

Please Log in or Create an account to join the conversation.

More