Skip to content

Commit 30da676

Browse files
committed
include title in field mapping
particularly important for nodes that don't have field_title populated.
1 parent 6a1ab35 commit 30da676

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/Plugin/OaiMetadataMap/DgiStandard.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class DgiStandard extends OaiMetadataMapBase implements ContainerFactoryPluginIn
3737
* @var string[]
3838
*/
3939
protected const FIELD_MAPPING = [
40+
'title' => self::TITLE_ELEMENT_MAIN,
4041
'field_member_of' => 'dcterms:isPartOf',
4142
'field_resource_type' => 'dcterms:type',
4243
'field_table_of_contents' => 'dcterms:description',

src/Plugin/OaiMetadataMap/QDC.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class QDC extends DgiStandard {
6666
* {@inheritDoc}
6767
*/
6868
protected const FIELD_MAPPING = [
69+
'title' => self::TITLE_ELEMENT_MAIN,
6970
'field_member_of' => 'dcterms:isPartOf',
7071
'field_resource_type' => 'dcterms:type',
7172
'field_genre' => 'dcterms:type',

0 commit comments

Comments
 (0)