Commit 2697985b authored by Volker Krause's avatar Volker Krause
Browse files

Also normalize name parts, not just the full name

parent 294270ed
......@@ -409,6 +409,8 @@ T ExtractorPostprocessorPrivate::processReservation(T res) const
Person ExtractorPostprocessorPrivate::processPerson(Person person) const
{
person.setName(person.name().simplified());
person.setFamilyName(person.familyName().simplified());
person.setGivenName(person.givenName().simplified());
// fill name with name parts, if it's empty
if ((person.name().isEmpty() || person.name() == person.familyName() || person.name() == person.givenName())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment