From 0bfdac86e6604bdc792a2caa92606d17f8a325f7 Mon Sep 17 00:00:00 2001 From: Lemuel Marquez Date: Sun, 23 May 2021 11:36:13 -0500 Subject: [PATCH] paginarciona activos --- server/controller/Prestamo/activos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {