From 02ed033aab3eee8cbae47d7d8d23dbd5958a87c6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 14 Feb 2025 16:37:44 -0600 Subject: [PATCH] Added identifiers --- action/action_auditoria.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action/action_auditoria.php b/action/action_auditoria.php index 00572af..6e5fdd1 100644 --- a/action/action_auditoria.php +++ b/action/action_auditoria.php @@ -43,7 +43,7 @@ try { WHERE usuario_id = :usuario_id ), INSERTION AS ( INSERT INTO last_auditoria - SELECT :usuario_id, to_jsonb(AUDITORIA_DATA) FROM AUDITORIA_DATA + SELECT :usuario_id, to_jsonb(AUDITORIA_DATA), registro_fecha_ideal, horario_id, profesor_id FROM AUDITORIA_DATA WHERE REGISTRO_FECHA_IDEAL IS NOT NULL ) SELECT @@ -66,8 +66,9 @@ try { registro_fecha_supervisor, comentario, registro_justificada, + justificacion, reposicion_id - FROM AUDITORIA_DATA", + FROM AUDITORIA_DATA ORDER BY registro_fecha_ideal, horario_hora", $params ); // Print the JSON file