From 9d57bbac5c3aab61792c628b0b5c3e452ebe8262 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Fri, 3 Jul 2026 09:16:34 -0500 Subject: [PATCH] =?UTF-8?q?recepcion:=20historial=20paciente=20muestra=205?= =?UTF-8?q?=20visitas=20por=20p=C3=A1gina=20(antes=2015)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- modules/turnero/views/recepcion.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/turnero/views/recepcion.php b/modules/turnero/views/recepcion.php index 17e5396..6ecf877 100644 --- a/modules/turnero/views/recepcion.php +++ b/modules/turnero/views/recepcion.php @@ -1244,7 +1244,7 @@ async function cargarHistorialPaciente(pacienteId) { const content = document.getElementById('hist-pac-content'); content.innerHTML = '
Cargando historial…
'; try { - const res = await fetch(`${API}get_historial.php?paciente_id=${pacienteId}&per_page=15&page=1`); + const res = await fetch(`${API}get_historial.php?paciente_id=${pacienteId}&per_page=5&page=1`); const json = await res.json(); if (!json.ok || !json.turnos || !json.turnos.length) { content.innerHTML = '
Sin visitas anteriores registradas
';