From 5584cb042144d89db34d01a802ab4fe6f1c71468 Mon Sep 17 00:00:00 2001 From: Michael Baudis <675030+mbaudis@users.noreply.github.com> Date: Mon, 19 Feb 2024 11:24:27 +0100 Subject: [PATCH] collationType PMID => pubmed --- src/components/searchForm/BiosamplesSearchForm.js | 2 +- src/pages/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/searchForm/BiosamplesSearchForm.js b/src/components/searchForm/BiosamplesSearchForm.js index cb689636..b01fd6f4 100644 --- a/src/components/searchForm/BiosamplesSearchForm.js +++ b/src/components/searchForm/BiosamplesSearchForm.js @@ -142,7 +142,7 @@ export function BeaconSearchForm({ }) // referenceid lookup ----------------------------------------------------- // - // ct = "PMID,GEOseries,GEOplatform,cellosaurus" + // ct = "pubmed,GEOseries,GEOplatform,cellosaurus" ct = "cellosaurus" const { data: refsubsetsResponse, diff --git a/src/pages/index.js b/src/pages/index.js index b5c6ffa2..c3c51b9c 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -107,7 +107,7 @@ export default function Index({ export const getStaticProps = async () => { const subsetsReply = await tryFetch( - `${SITE_DEFAULTS.PREFETCH_PATH}services/collations/?datasetIds=${SITE_DEFAULTS.DATASETID}&method=counts&collationTypes=cellosaurus,NCIT,icdom,PMID,icdot` + `${SITE_DEFAULTS.PREFETCH_PATH}services/collations/?datasetIds=${SITE_DEFAULTS.DATASETID}&method=counts&collationTypes=cellosaurus,NCIT,icdom,pubmed,icdot` ) const cellosaurusCountReply = await tryFetch( `${SITE_DEFAULTS.PREFETCH_PATH}services/collations/?datasetIds=${SITE_DEFAULTS.DATASETID}&method=codematches&collationTypes=cellosaurus`