From 19baabf0ce5b103e7fcf77ffb84c0d4f050afba5 Mon Sep 17 00:00:00 2001 From: Jesiel Viana Date: Mon, 13 Nov 2023 13:46:54 -0300 Subject: [PATCH] =?UTF-8?q?alterando=20a=20busca=20para=20os=20novos=20?= =?UTF-8?q?=C3=ADndices:release2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.js | 8 ++++++++ src/components/AdvancedSearchBox.tsx | 2 +- src/components/AllIndexVisNetwork.tsx | 16 ++++++++-------- src/components/BasicSearchBox.tsx | 3 ++- src/components/indicators/GroupsIndicators.tsx | 2 +- .../indicators/JornalsIndicators.tsx | 2 +- .../indicators/OrgUnitIndicators.tsx | 2 +- .../indicators/PatentsIndicators.tsx | 2 +- src/components/indicators/PeopleIndicators.tsx | 2 +- .../indicators/ProgramsIndicators.tsx | 2 +- .../indicators/PublicationsIndicators.tsx | 2 +- .../indicators/SoftwaresIndicators.tsx | 2 +- src/pages/groups.tsx | 2 +- src/pages/index.tsx | 18 +++++++++--------- src/pages/institutions.tsx | 2 +- src/pages/journals.tsx | 2 +- src/pages/patents.tsx | 2 +- src/pages/people.tsx | 4 ++-- src/pages/programs.tsx | 2 +- src/pages/publications.tsx | 3 ++- src/pages/software.tsx | 2 +- 21 files changed, 46 insertions(+), 36 deletions(-) diff --git a/next.config.js b/next.config.js index 1c9f092..9977ffd 100644 --- a/next.config.js +++ b/next.config.js @@ -10,6 +10,14 @@ const nextConfig = { LANGUAGES: process.env.LANGUAGES, ELASTIC_INDEXES: process.env.ELASTIC_INDEXES, PUBLIC_RECAPTCHA_SITE_KEY: process.env.PUBLIC_RECAPTCHA_SITE_KEY, + INDEX_PUBLICATION: process.env.INDEX_PUBLICATION, + INDEX_PERSON: process.env.INDEX_PERSON, + INDEX_ORGUNIT: process.env.INDEX_ORGUNIT, + INDEX_JOURNAL: process.env.INDEX_JOURNAL, + INDEX_PROGRAM: process.env.INDEX_PROGRAM, + INDEX_PATENT: process.env.INDEX_PATENT, + INDEX_GROUP: process.env.INDEX_GROUP, + INDEX_SOFTWARE: process.env.INDEX_SOFTWARE, }, i18n, webpack5: true, diff --git a/src/components/AdvancedSearchBox.tsx b/src/components/AdvancedSearchBox.tsx index db0b835..0c18b22 100644 --- a/src/components/AdvancedSearchBox.tsx +++ b/src/components/AdvancedSearchBox.tsx @@ -82,7 +82,7 @@ const AdvancedSearchBox = ({