From e5a2e06342f785e35edd033b11eb8fd80d1e1e76 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 17 Feb 2025 14:55:58 -0600 Subject: [PATCH] Descendent order --- action/action_auditoria.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action/action_auditoria.php b/action/action_auditoria.php index af1ced8..6f9b91e 100644 --- a/action/action_auditoria.php +++ b/action/action_auditoria.php @@ -64,7 +64,7 @@ try { "SELECT $relevant_columns_string FROM PUBLIC.AUDITORIA_MAT WHERE FACULTAD_ID = COALESCE(:facultad_id, FACULTAD_ID) AND REGISTRO_FECHA_IDEAL + HORARIO_HORA between :fecha_inicio AND :fecha_fin - ORDER BY registro_fecha_ideal, horario_hora", + ORDER BY registro_fecha_ideal, horario_hora DESC", [ ':facultad_id' => $user->facultad['facultad_id'], ':fecha_inicio' => $_SESSION['fecha_inicio'],