I am using the following custom query, and Bricks ignores the time sort for some reason. The same query was used to modify the WP API results, and it works perfectly. I am not sure if this is a bug or if I am missing something obvious.
$today = date(‘Y-m-d’);
return [
‘post_type’ => ‘events’,
‘meta_query’ => array(
array(
‘key’ => ‘e_start_date’,
‘value’ => $today,
‘compare’ => ‘>=’,
‘type’ => ‘DATE’,
),
),
‘orderby’ => array(
‘e_start_date’ => ‘ASC’, //yyy-mm-dd
‘e_start_time’ => ‘ASC’, //hh:mm (24 hour)
‘title’ => ‘ASC’,
),
‘posts_per_page’ => 24,
];