From 95002304928d25934c1dcb361539ac969774f8ff Mon Sep 17 00:00:00 2001 From: Tim Worrall Date: Thu, 20 Aug 2015 10:41:26 -0400 Subject: [PATCH] VIVO-1046: ensure that vcard individuals with only a last name display in the list of authors for information resources --- .../config/listViewConfig-informationResourceInAuthorship.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/productMods/config/listViewConfig-informationResourceInAuthorship.xml b/productMods/config/listViewConfig-informationResourceInAuthorship.xml index 10126347..13b6a58c 100644 --- a/productMods/config/listViewConfig-informationResourceInAuthorship.xml +++ b/productMods/config/listViewConfig-informationResourceInAuthorship.xml @@ -31,8 +31,8 @@ OPTIONAL { ?authorship core:relates ?author . ?author a vcard:Kind . ?author vcard:hasName ?vName . - ?vName vcard:givenName ?firstName . ?vName vcard:familyName ?lastName . + OPTIONAL { ?vName vcard:givenName ?firstName . } OPTIONAL { ?vName core:middleName ?middleName . } bind ( COALESCE(?firstName, "") As ?firstName1) . bind ( COALESCE(?middleName, "") As ?middleName1) .