From b388a706bd00491ad64c9547ec27eef86dfaa89a Mon Sep 17 00:00:00 2001 From: Lucas Vaz Date: Wed, 13 May 2026 16:43:33 -0300 Subject: [PATCH] =?UTF-8?q?A=20listagem=20de=20herb=C3=A1rios=20agora=20re?= =?UTF-8?q?torna=20ordenada=20pelo=20nome=20em=20ordem=20alfab=C3=A9tica?= =?UTF-8?q?=20crescente.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/herbarios-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/herbarios-controller.js b/src/controllers/herbarios-controller.js index ee44b5de..0783d5be 100644 --- a/src/controllers/herbarios-controller.js +++ b/src/controllers/herbarios-controller.js @@ -46,7 +46,7 @@ export const listaTodosHerbariosAtivos = (limit, offset, where) => Herbario.find where, limit, offset, - order: [['id', 'DESC']], + order: [['nome', 'ASC']], }); export const buscarHerbario = (request, response, next) => {