NIHVIVO-1600 Fixed typo for preferredTItle (was perferredTitle)
This commit is contained in:
parent
0e53c11203
commit
0a398b51c3
1 changed files with 3 additions and 3 deletions
|
@ -139,8 +139,8 @@ public class JSONServlet extends VitroHttpServlet {
|
||||||
DataProperty monikerDp = (new DataProperty());
|
DataProperty monikerDp = (new DataProperty());
|
||||||
monikerDp.setURI( VitroVocabulary.MONIKER);
|
monikerDp.setURI( VitroVocabulary.MONIKER);
|
||||||
//this property is vivo specific
|
//this property is vivo specific
|
||||||
DataProperty perferredTitleDp = (new DataProperty());
|
DataProperty preferredTitleDp = (new DataProperty());
|
||||||
perferredTitleDp.setURI("http://vivoweb.org/ontology/core#preferredTitle");
|
preferredTitleDp.setURI("http://vivoweb.org/ontology/core#preferredTitle");
|
||||||
|
|
||||||
|
|
||||||
if( log.isDebugEnabled() ){
|
if( log.isDebugEnabled() ){
|
||||||
|
@ -205,7 +205,7 @@ public class JSONServlet extends VitroHttpServlet {
|
||||||
jo.put("moniker", moniker);
|
jo.put("moniker", moniker);
|
||||||
jo.put("vclassName", getVClassName(ind,moniker,fullWdf));
|
jo.put("vclassName", getVClassName(ind,moniker,fullWdf));
|
||||||
|
|
||||||
jo.put("perferredTitle", getDataPropertyValue(ind, perferredTitleDp, fullWdf));
|
jo.put("preferredTitle", getDataPropertyValue(ind, preferredTitleDp, fullWdf));
|
||||||
jo.put("firstName", getDataPropertyValue(ind, fNameDp, fullWdf));
|
jo.put("firstName", getDataPropertyValue(ind, fNameDp, fullWdf));
|
||||||
jo.put("lastName", getDataPropertyValue(ind, lNameDp, fullWdf));
|
jo.put("lastName", getDataPropertyValue(ind, lNameDp, fullWdf));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue