Merge branch 'stable_ids' into prepare_ror_actionset

pull/106/head
Michele Artini 3 years ago
commit b4877da363

@ -25,7 +25,7 @@ SELECT
o.country || '@@@dnet:countries' AS country,
array[]::text[] AS alternativenames,
'sysimport:crosswalk:entityregistry@@@dnet:provenance_actions' AS provenanceaction,
array_agg(DISTINCT i.pid || '###' || i.issuertype || '@@@dnet:pid_types') AS pid
array_remove(array_agg(DISTINCT i.pid || '###' || i.issuertype || '@@@' || i.issuertype), NULL) AS pid
FROM dsm_organizations o
LEFT OUTER JOIN dsm_datasources d ON (d.id = o.collectedfrom)
LEFT OUTER JOIN dsm_organizationpids p ON (p.organization = o.id)
@ -51,4 +51,4 @@ GROUP BY
o.trust,
d.id,
d.officialname,
o.country;
o.country

Loading…
Cancel
Save