From 9633d73a1aad85a088829c53cf930c8406c12cea Mon Sep 17 00:00:00 2001 From: ryounes Date: Fri, 15 Jul 2011 13:47:17 +0000 Subject: [PATCH] NIHVIVO-2883 Vivo default list view filters out mostSpecificType values that are not members of a classgroup --- productMods/config/listViewConfig-default.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/productMods/config/listViewConfig-default.xml b/productMods/config/listViewConfig-default.xml index 053ce02a..16b4ad6c 100644 --- a/productMods/config/listViewConfig-default.xml +++ b/productMods/config/listViewConfig-default.xml @@ -30,6 +30,11 @@ ?object a foaf:Person . ?object vitro:mostSpecificType ?typeUri . ?typeUri rdfs:label ?type . + # Since we're only getting one (others removed during postprocessing), + # make sure it's one that's in a classgroup. This elimates types like + # the internal institutional class, etc. + ?typeUri vitro:inClassGroup ?classGroup . + ?classGroup a vitro:ClassGroup } OPTIONAL { ?object core:preferredTitle ?title }