A comment
This commit is contained in:
parent
d0930bca49
commit
93d8b6100a
1 changed files with 2 additions and 3 deletions
|
@ -301,9 +301,8 @@ SPARQL queries for existing values. --%>
|
||||||
<%
|
<%
|
||||||
String rankPredicateUri = vivoCore + "authorRank";
|
String rankPredicateUri = vivoCore + "authorRank";
|
||||||
|
|
||||||
// RY Would be nice to use PropertyRanker, which is used on the Individual page to sort properties,
|
// RY We should use whatever is used on the individual profile page to list
|
||||||
// but the types are wrong. We could get the ObjectPropertyStatements instead of the Authorships, but
|
// this property in rank order...
|
||||||
// PropertyRanker.compare uses a list of Property objects.
|
|
||||||
DataPropertyComparator comp = new DataPropertyComparator(rankPredicateUri);
|
DataPropertyComparator comp = new DataPropertyComparator(rankPredicateUri);
|
||||||
Collections.sort(authorships, comp);
|
Collections.sort(authorships, comp);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue