Skip to content
Snippets Groups Projects
Commit aa35289c authored by esikkala's avatar esikkala
Browse files

Manuscripts: fix author links

parent 71863893
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,9 @@ const ResultTableCell = props => {
{Array.isArray(item.prefLabel) ? item.prefLabel[0] : item.prefLabel}
</a>
}
{!makeLink && Array.isArray(item.prefLabel) ? item.prefLabel[0] : item.prefLabel}
{!makeLink &&
<span>{Array.isArray(item.prefLabel) ? item.prefLabel[0] : item.prefLabel}</span>
}
</li>
);
if (numberedList) {
......
......@@ -11,7 +11,7 @@ export const manuscriptProperties = `
{
?id mmm-schema:manuscript_author ?author__id .
?author__id skos:prefLabel ?author__prefLabel .
OPTIONAL { ?author__id mmm-schema:data_provider_url ?author__dataProviderUrl }
BIND(?author__id AS ?author__dataProviderUrl)
}
UNION
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment