VIVO-960: vcard Individuals now display correctly on the manage authors page and can have their rank in the authorship list modified.

This commit is contained in:
Tim Worrall 2015-02-06 12:35:33 -05:00
parent 431847165b
commit 5c0e031af8
2 changed files with 2 additions and 2 deletions

View file

@ -192,7 +192,7 @@ var i18nStrings = {
authorTypeText: '${i18n().author_capitalized}', authorTypeText: '${i18n().author_capitalized}',
organizationTypeText: '${i18n().organization_capitalized}', organizationTypeText: '${i18n().organization_capitalized}',
helpTextSelect: '${i18n().select_an_existing}', helpTextSelect: '${i18n().select_an_existing}',
helptextAdd: '${i18n().or_add_new_one}' helpTextAdd: '${i18n().or_add_new_one}'
}; };
</script> </script>

View file

@ -360,7 +360,7 @@ public class AddAuthorsToInformationResourceGenerator extends VivoBaseGenerator
+ " OPTIONAL { ?authorURI rdfs:label ?authorName } \n" + " OPTIONAL { ?authorURI rdfs:label ?authorName } \n"
+ " OPTIONAL { ?authorshipURI core:rank ?rank } \n" + " OPTIONAL { ?authorshipURI core:rank ?rank } \n"
+ "} UNION { \n" + "} UNION { \n"
+ " <http://vivo.cornell.edu/individual/n2251> core:relatedBy ?authorshipURI . \n" + " ?subject core:relatedBy ?authorshipURI . \n"
+ " ?authorshipURI a core:Authorship . \n" + " ?authorshipURI a core:Authorship . \n"
+ " ?authorshipURI core:relates ?authorURI . \n" + " ?authorshipURI core:relates ?authorURI . \n"
+ " ?authorURI a vcard:Individual . \n" + " ?authorURI a vcard:Individual . \n"