diff --git a/src/modules/search-result/search-result.jsx b/src/modules/search-result/search-result.jsx index 0fc77f67..c87542e4 100644 --- a/src/modules/search-result/search-result.jsx +++ b/src/modules/search-result/search-result.jsx @@ -54,11 +54,14 @@ const fullTextStatus = ({ title, fullTextLink } = {}) => { } const SearchResult = ({ + renderRedirectLink, children, id, className, + searchId, useLogo = true, data: { + workId, title, author = [], publicationDate, @@ -153,7 +156,11 @@ const SearchResult = ({ itemType="https://schema.org/Person" > {a.name.replace(',', ' ')} @@ -208,7 +215,11 @@ const SearchResult = ({ className={styles.dataProvider} > {dataProvider.name} @@ -223,9 +234,11 @@ const SearchResult = ({ SearchResult.propTypes = { id: PropTypes.string.isRequired, + searchId: PropTypes.string, useLogo: PropTypes.bool, + renderRedirectLink: PropTypes.bool, data: PropTypes.shape({ - id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), + workId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), title: PropTypes.string, author: PropTypes.arrayOf( PropTypes.shape({