diff --git a/server/controller/Prestamo/activos.js b/server/controller/Prestamo/activos.js index 54b3bca..7dab9f4 100644 --- a/server/controller/Prestamo/activos.js +++ b/server/controller/Prestamo/activos.js @@ -83,7 +83,7 @@ const activos = async (body) => { ], limit: 25, offset: 25 * (pagina - 1), - order: [['createdAt', 'DESC']], + order: [['idPrestamo', 'ASC']], }); }); };