Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
lrosenstrom committed Sep 8, 2021
2 parents 3f37984 + fc97210 commit 588a30d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion fgsMetsMods/OAIMetadataFormatPlugin_FgsMetsMods.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static function getNamespace() {
}

static function getVersion() {
return '1.1.3';
return '1.1.4';
}

static function getUrl() {
Expand Down
11 changes: 8 additions & 3 deletions fgsMetsMods/templates/record.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{else}
<name>{$journal->getName($journal->getPrimaryLocale())|escape}</name>
{/if}
{if archivistUri}
{if $archivistUri}
<note>URI:{$archivistUri|escape}</note>
{/if}
</agent>
Expand All @@ -35,7 +35,7 @@
{else}
<name>{$journal->getName($journal->getPrimaryLocale())|escape}</name>
{/if}
{if creatorUri}
{if $creatorUri}
<note>URI:{$creatorUri|escape}</note>
{/if}
</agent>
Expand All @@ -62,8 +62,13 @@
{assign var=authors value=$article->getAuthors()}
{foreach from=$authors item=author}
<mods:name type="personal">
<mods:namePart type="family">{$author->getFamilyName($journal->getPrimaryLocale())|escape}</mods:namePart>
{assign var=familyName value=$author->getFamilyName($journal->getPrimaryLocale())}
{if $familyName}
<mods:namePart type="family">{$familyName|escape}</mods:namePart>
<mods:namePart type="given">{$author->getGivenName($journal->getPrimaryLocale())|escape}</mods:namePart>
{else} {* Given name is mandatory in OJS, family name is not *}
<mods:namePart>{$author->getGivenName($journal->getPrimaryLocale())|escape}</mods:namePart>
{/if}
<mods:role>
<mods:roleTerm type="code" authority="marcrelator">aut</mods:roleTerm>
</mods:role>
Expand Down
4 changes: 2 additions & 2 deletions fgsMetsMods/version.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<version>
<application>fgsMetsMods</application>
<type>plugins.oaiMetadataFormats</type>
<release>1.1.3</release>
<date>2021-08-27</date>
<release>1.1.4</release>
<date>2021-09-08</date>
</version>

0 comments on commit 588a30d

Please sign in to comment.