Skip to content

Commit

Permalink
Merge pull request #8699 from GlobalDataverseCommunityConsortium/IQSS…
Browse files Browse the repository at this point in the history
…/8698-fix_bag-info.txt_file_creation

IQSS/8698 - fix bag-info.txt file creation
  • Loading branch information
kcondon authored May 26, 2022
2 parents 552dfc8 + d531d9c commit 4d10da5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public JsonLDTerm getDescriptionTextTerm() {

private JsonLDTerm getTermFor(String fieldTypeName) {
//Could call datasetFieldService.findByName(fieldTypeName) - is that faster/prefereable?
for (DatasetField dsf : version.getDatasetFields()) {
for (DatasetField dsf : version.getFlatDatasetFields()) {
DatasetFieldType dsft = dsf.getDatasetFieldType();
if (dsft.getName().equals(fieldTypeName)) {
return dsft.getJsonLDTerm();
Expand Down

0 comments on commit 4d10da5

Please sign in to comment.