do not display primary positions on the manage people page

This commit is contained in:
Tim Worrall 2014-06-19 12:13:02 -04:00
parent 5ef8df4a49
commit dfb6f2a57f

View file

@ -72,8 +72,11 @@ public class ManagePeopleForOrganizationController extends FreemarkerHttpServlet
+ " OPTIONAL { ?position core:relates ?person . " + " OPTIONAL { ?position core:relates ?person . "
+ " ?person a foaf:Person . \n" + " ?person a foaf:Person . \n"
+ " ?person rdfs:label ?label } \n" + " ?person rdfs:label ?label } \n"
+ " OPTIONAL { ?position vitro:mostSpecificType ?subclass } \n" + " OPTIONAL { ?position vitro:mostSpecificType ?subclass . \n"
+ " OPTIONAL { ?subclass vitro:displayRankAnnot ?displayRank } \n"
+ " } \n "
+ " OPTIONAL { ?position core:hideFromDisplay ?hideThis } \n " + " OPTIONAL { ?position core:hideFromDisplay ?hideThis } \n "
+ " FILTER ( ?displayRank < 500 )"
+ "} ORDER BY ?subclass ?name"; + "} ORDER BY ?subclass ?name";
HashMap<String, List<Map<String,String>>> getPeople(String subjectUri, VitroRequest vreq) { HashMap<String, List<Map<String,String>>> getPeople(String subjectUri, VitroRequest vreq) {