[DS-557] LC Authority Names - Lookup Feature - names w/o dates

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4936 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Kim Shepherd
2010-05-13 23:40:04 +00:00
parent 393fe38c0a
commit ae725ce66f
2 changed files with 9 additions and 0 deletions

View File

@@ -262,6 +262,8 @@ public class LCNameAuthority implements ChoiceAuthority
private int hits = -1;
private String textValue = null;
private String name = null;
private String oname = null;
private String bname = null;
private String lccn = null;
private String lastTag = null;
private String lastCode = null;
@@ -332,6 +334,10 @@ public class LCNameAuthority implements ChoiceAuthority
// 100.a is the personal name
else if (lastTag.equals("100") && lastCode.equals("a"))
name = textValue;
if (lastTag.equals("100") && lastCode.equals("d") && (name != null))
name = name+" "+textValue;
}
}
}