mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-19 07:53:08 +00:00
DS-3489: Added HAL link factories for AuthorityEntryResource and SubmissionSectionResource
This commit is contained in:
@@ -1219,7 +1219,7 @@ prevent the generation of resource policy entry values with null dspace_object a
|
||||
@Override
|
||||
protected void getAuthoritiesAndConfidences(String fieldKey, Collection collection, List<String> values, List<String> authorities, List<Integer> confidences, int i) {
|
||||
Choices c = choiceAuthorityService.getBestMatch(fieldKey, values.get(i), collection, null);
|
||||
authorities.add(c.values.length > 0 ? c.values[0].authority : null);
|
||||
authorities.add(c.values.length > 0 && c.values[0] != null ? c.values[0].authority : null);
|
||||
confidences.add(c.confidence);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user