VIVO-662 Remove duplicate rows from the SPARQL query results.
Two rows are considered to be duplicates if they have the same authorshipURI or the same authorURI.
This commit is contained in:
parent
d3dab78fa3
commit
1d0f2a917c
1 changed files with 1 additions and 0 deletions
|
@ -378,6 +378,7 @@ public class AddAuthorsToInformationResourceGenerator extends VivoBaseGenerator
|
|||
} catch (Exception e) {
|
||||
log.error(e, e);
|
||||
}
|
||||
authorships = QueryUtils.removeDuplicatesMapsFromList(authorships, "authorShipURI", "authorURI");
|
||||
log.debug("authorships = " + authorships);
|
||||
return getAuthorshipInfo(authorships);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue