amy icon indicating copy to clipboard operation
amy copied to clipboard

Person search doesn't work for personal or family names which contain spaces

Open elichad opened this issue 1 year ago • 4 comments

For a user with personal "X Y" and family "Z", or personal "X" and family "Y Z", searching "X Y Z" will not return the person. Searching just "X Z" will return the person.

elichad avatar May 10 '23 17:05 elichad

I remember a similar issue coming up before and I can't find it now. Maybe it was something I just talked with @pbanaszkiewicz about but never opened an issue? @pbanaszkiewicz do you remember?

maneesha avatar May 10 '23 20:05 maneesha

@maneesha I have no recollection, unfortunately.

pbanaszkiewicz avatar May 15 '23 15:05 pbanaszkiewicz

Issue Training Request Search #2149 and related PR Training search #2151 are probably what I was thinking of. As noted in that PR, that PR introduced some redundant code. It may be useful to refactor those queries while addressing this issue.

maneesha avatar May 22 '23 19:05 maneesha

Cant wait to see this one fixed :)

sheraaronhurt avatar Nov 07 '23 19:11 sheraaronhurt