From 48c7652d1c16cf6637c9cc4ff79f9d1b4854ad29 Mon Sep 17 00:00:00 2001 From: Matteo Cancellieri Date: Fri, 10 Feb 2023 14:41:15 +0000 Subject: [PATCH] HOTIFIX: search endpoint wasn't creating the right query --- templates/data-providers/utils/generate-form-message.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/data-providers/utils/generate-form-message.jsx b/templates/data-providers/utils/generate-form-message.jsx index 992d89399..424020634 100644 --- a/templates/data-providers/utils/generate-form-message.jsx +++ b/templates/data-providers/utils/generate-form-message.jsx @@ -3,7 +3,7 @@ import { Link } from '@oacore/design' import React from 'react' -const searchUrlFor = (id) => `https://core.ac.uk/search?q=repositories.id:${id}` +const searchUrlFor = (id) => `https://core.ac.uk/search?q=repositories.id:(${id})` const HARVESTED_BY_CORE = 'https://core.ac.uk/faq#harvested-by-CORE-snippet' const SUPPORT_EMAIL_URL = 'mailto:t%68%65t%65am%40core%2e%61c%2eu%6b'