Skip to content

Commit

Permalink
Merge branch 'feature-anotaciones-#43' of https://github.com/Reposito…
Browse files Browse the repository at this point in the history
…rioNacionalCultura/Front into feature-anotaciones-#43
  • Loading branch information
juan.fernandez committed Jul 3, 2018
2 parents 6cb66e1 + 5d0c05b commit e73c191
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,10 @@ private Map<String,String> annotationToMap(Annotation annotation, String userId)
if(entry.getId()!=null){
map.put("oid",entry.getId());
}
if(entry.getRecordtitle()!=null){
if(entry.getRecordtitle()!=null && entry.getRecordtitle().size()>0){
map.put("bicTitle",entry.getRecordtitle().get(0).getValue());
}else{
map.put("bicTitle","sin título");
}
if(entry.getCreator()!=null){
map.put("bicCreator",entry.getCreator().get(0));
Expand Down

0 comments on commit e73c191

Please sign in to comment.