added eosc fields

This commit is contained in:
Michele Artini 2021-07-28 11:03:15 +02:00
parent 1fb572a33a
commit c72c960ffb
1 changed files with 2 additions and 2 deletions

View File

@ -89,10 +89,10 @@ SELECT
d.issn AS issnPrinted, d.issn AS issnPrinted,
d.eissn AS issnOnline, d.eissn AS issnOnline,
d.lissn AS issnLinking, d.lissn AS issnLinking,
de.jurisdiction AS jurisdiction, de.jurisdiction||'@@@eosc:jurisdictions' AS jurisdiction,
de.thematic AS thematic, de.thematic AS thematic,
de.knowledge_graph AS knowledgegraph, de.knowledge_graph AS knowledgegraph,
de.content_policies AS contentpolicies array(select unnest(de.content_policies)||'@@@eosc:contentpolicies') AS contentpolicies
FROM dsm_datasources d FROM dsm_datasources d
LEFT OUTER JOIN dsm_datasources_eosc de on (d.id = de.id) LEFT OUTER JOIN dsm_datasources_eosc de on (d.id = de.id)