From 4b95dc48ed16b9a4de899f01e415ced6bf57a67b Mon Sep 17 00:00:00 2001 From: Lemuel Marquez Date: Wed, 23 Jun 2021 14:17:53 -0500 Subject: [PATCH] regresar a lo inicial --- server/controller/Prestamo/historial.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controller/Prestamo/historial.js b/server/controller/Prestamo/historial.js index 93793ea..78f854e 100644 --- a/server/controller/Prestamo/historial.js +++ b/server/controller/Prestamo/historial.js @@ -58,7 +58,7 @@ const historial = async (body) => { ], limit: 25, offset: 25 * (pagina - 1), - order: [['createdAt', 'DESC']], + // order: [['createdAt', 'DESC']], }).then((res) => { for (let i = 0; i < res.rows.length; i++) { delete res.rows[i].dataValues.idUsuario;