From fa8389a0f0f4289a54ada75e90b2f3d57ab35e8a Mon Sep 17 00:00:00 2001 From: Leopold Talirz Date: Sat, 28 Jan 2023 12:21:27 +0100 Subject: [PATCH] fix: update google scholar links Link to google scholar queries should reflect that citations are no longer included. --- package.json | 2 +- src/components/Columns.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8cf5ee9..a6d32af 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "dependencies": { "@nivo/line": "^0.80.0", "mui-datatables": "^3.8.5", - "prettier": "^2.8.3", + "prettier": "^2.5.1", "react-dom": "<18.0.0", "react-markdown": "^8.0.0", "react-router-dom": "^5.3.0", diff --git a/src/components/Columns.js b/src/components/Columns.js index 350f6ab..d9a783e 100644 --- a/src/components/Columns.js +++ b/src/components/Columns.js @@ -262,7 +262,7 @@ function getColumns(data, year) { "https://scholar.google.com/scholar?q=" + encodeURIComponent(row["query_string"]); } - searchUrl += "&hl=en&as_sdt=0%2C5&as_ylo=" + year + "&as_yhi=" + year; + searchUrl += "&hl=en&as_vis=1&as_sdt=0%2C5&as_ylo=" + year + "&as_yhi=" + year; return ( {row["citations"]}