Skip to content

Commit

Permalink
fix: wrong order of label and value in selection list
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominick Leppich committed Oct 24, 2024
1 parent a47f8c8 commit 97101c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/sub/goobi/forms/ProzesskopieForm.java
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ private AdditionalField readAdditionalFieldConfiguration(HierarchicalConfigurati
fa.setMultiselect(false);
} else if (!parameterList.isEmpty()) {
fa.setSelectList(parameterList.stream()
.map(hc -> new SelectItem(hc.getString("@label"), hc.getString("."), null))
.map(hc -> new SelectItem(hc.getString("."), hc.getString("@label"), null))
.toList());
}

Expand Down

0 comments on commit 97101c7

Please sign in to comment.