From 93d8b6100acbb215f8c8709eca1e1065879d09d6 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Tue, 6 Jul 2010 01:52:06 +0000 Subject: [PATCH] A comment --- productMods/edit/forms/addAuthorsToInformationResource.jsp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/productMods/edit/forms/addAuthorsToInformationResource.jsp b/productMods/edit/forms/addAuthorsToInformationResource.jsp index 5f5e76e4..b721430f 100644 --- a/productMods/edit/forms/addAuthorsToInformationResource.jsp +++ b/productMods/edit/forms/addAuthorsToInformationResource.jsp @@ -301,9 +301,8 @@ SPARQL queries for existing values. --%> <% String rankPredicateUri = vivoCore + "authorRank"; - // RY Would be nice to use PropertyRanker, which is used on the Individual page to sort properties, - // but the types are wrong. We could get the ObjectPropertyStatements instead of the Authorships, but - // PropertyRanker.compare uses a list of Property objects. + // RY We should use whatever is used on the individual profile page to list + // this property in rank order... DataPropertyComparator comp = new DataPropertyComparator(rankPredicateUri); Collections.sort(authorships, comp);