Yes. Please follow the instructions below :
1. Open the file administrator/components/com_eventbooking/models/events.php
2. Find the code below :
Code:
$filter_order = $mainframe->getUserStateFromRequest($option . 'event_filter_order', 'filter_order', 'a.ordering', 'cmd');
$filter_order_Dir = $mainframe->getUserStateFromRequest($option . 'filter_order_Dir', 'filter_order_Dir', '', 'word');
3. Change it to :
Code:
$filter_order = $mainframe->getUserStateFromRequest($option . 'event_filter_order', 'filter_order', 'a.event_date', 'cmd');
$filter_order_Dir = $mainframe->getUserStateFromRequest($option . 'filter_order_Dir', 'filter_order_Dir', 'DESC', 'word');
4. Open the file Open the file administrator/components/com_eventbooking/views/events/view.html.php
5. Find the code below:
Code:
$filter_order = $mainframe->getUserStateFromRequest($option . 'event_filter_order', 'filter_order', 'id', 'cmd');
$filter_order_Dir = $mainframe->getUserStateFromRequest($option . 'filter_order_Dir', 'filter_order_Dir', '', 'word');
6. Change it to :
Code:
$filter_order = $mainframe->getUserStateFromRequest($option . 'event_filter_order', 'filter_order', 'a.event_date', 'cmd');
$filter_order_Dir = $mainframe->getUserStateFromRequest($option . 'filter_order_Dir', 'filter_order_Dir', 'DESC', 'word');
After that, it will work as expected.
Tuan