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

Events table: link to SAHA for now

parent 2d19c0bb
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,9 @@ const ObjectList = props => {
};
const createLink = (id, dataProviderUrl, prefLabel, isArray) => {
if (id.startsWith('http://erlangen-crm.org/current/')) {
id = dataProviderUrl;
}
return (
<React.Fragment>
{props.externalLink &&
......
......@@ -45,7 +45,7 @@ export const INITIAL_STATE = {
desc: 'Type description',
valueType: 'object',
makeLink: true,
externalLink: false,
externalLink: true,
sortValues: false,
numberedList: false,
minWidth: 200,
......
......@@ -2,7 +2,8 @@ export const eventProperties = `
{
?id a ?type__id .
?type__id skos:prefLabel|rdfs:label ?type__prefLabel .
BIND(CONCAT("/events/page/", REPLACE(STR(?id), "^.*\\\\/(.+)", "$1")) AS ?type__dataProviderUrl)
BIND(?id as ?type__dataProviderUrl)
#BIND(CONCAT("/events/page/", REPLACE(STR(?id), "^.*\\\\/(.+)", "$1")) AS ?type__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