Open magnarem opened 9 months ago
The following line will need to be set to series when doc['isParent] = True https://github.com/epifanio/adc-pycsw/blob/5196783396dca732be2b0a053c4af18348ec5955/plugins/repository/solr_metno.py#L363
series
doc['isParent] = True
And we will need to add: record['parentidentifier'] = doc['related_dataset'] when doc[isChild = True]
record['parentidentifier'] = doc['related_dataset']
doc[isChild = True]
I think this fixes will add parent/child relations for the default outputschema results at least.
The following line will need to be set to
series
whendoc['isParent] = True
https://github.com/epifanio/adc-pycsw/blob/5196783396dca732be2b0a053c4af18348ec5955/plugins/repository/solr_metno.py#L363And we will need to add:
record['parentidentifier'] = doc['related_dataset']
whendoc[isChild = True]
I think this fixes will add parent/child relations for the default outputschema results at least.