diff --git a/server/controller/Prestamo/activos.js b/server/controller/Prestamo/activos.js index 707247e..e8a895e 100644 --- a/server/controller/Prestamo/activos.js +++ b/server/controller/Prestamo/activos.js @@ -37,7 +37,7 @@ const activos = async (body) => { ], limit: 25, offset: 25 * (pagina - 1), - order: [['updatedAt', 'DESC']], + order: [['createdAt', 'DESC']], }); }) .then((res) => {