Skip to content

Commit

Permalink
Picks up first publisher instead of last
Browse files Browse the repository at this point in the history
  • Loading branch information
HyphenHook committed Feb 12, 2024
1 parent 3a230d9 commit 04c4ed4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Plugin/CitationFieldFormatter/TypedRelationFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ public function formatMultiple($node, $node_field, $csl_fields) {
break;

default:
if ($rel_name == "publisher" && isset($data[$rel_name])) {
break;
}
$data[$rel_name] = $value;
break;
}
Expand Down

0 comments on commit 04c4ed4

Please sign in to comment.