Center-for-Digital-Narrative / elmcip

Electronic Literature as a Model of Creativity and Innovation in Practice (ELMCIP) is a collaborative research project funded by Humanities in the European Research Area (HERA) JRP for Creativity and Innovation built in Drupal
https://elmcip.net
4 stars 0 forks source link

Fix search so it works for names with special characters like hyphens #500

Open jilltxt opened 10 months ago

jilltxt commented 10 months ago

If you search for a name with a hyphen, like "Lai-Tze Fan", no records show up. A work around is to add an "Alternate spelling" of the name WITHOUT the hyphen in the Person record as in the screenshot below. With this alternate spelling if you search for Lai-Tze Fan with the hyphen it shows up.

Screenshot 2023-08-10 at 10 34 57

Is there a way to fix this without adding alternate spellings for all names with hyphens or other special characters?