diff --git a/app/call_recordings/call_recordings.php b/app/call_recordings/call_recordings.php index 4e3bc05995..113a4c45da 100644 --- a/app/call_recordings/call_recordings.php +++ b/app/call_recordings/call_recordings.php @@ -100,7 +100,7 @@ //get the list $sql = str_replace('count(call_recording_uuid)', '*', $sql); - $sql .= order_by($order_by, $order, 'call_recording_name', 'asc'); + $sql .= order_by($order_by, $order, 'call_recording_date', 'desc'); $sql .= limit_offset($rows_per_page, $offset); $database = new database; $call_recordings = $database->select($sql, $parameters, 'all'); @@ -223,4 +223,4 @@ //include the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?>