Skip to content

Commit

Permalink
fix default label in dv selection
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Aug 6, 2021
1 parent 015f3f5 commit 7240c23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ private String getDefaultMetadataLanguageLabel(DvObjectContainer target) {
}
}
if(mlLabel.equals(DvObjectContainer.UNDEFINED_METADATA_LANGUAGE_CODE)) {
mlLabel = getDefaultMetadataLanguage();
mlLabel = getBaseMetadataLanguageMap(false).get(getDefaultMetadataLanguage());
}
if(fromAncestor) {
mlLabel = mlLabel + " " + BundleUtil.getStringFromBundle("dataverse.inherited");
Expand Down

0 comments on commit 7240c23

Please sign in to comment.