Search - Middle Name for Name (not sure if bug)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    Search - Middle Name for Name (not sure if bug)

    Not sure if this one is considered a bug or not.

    For entity Contact, I added "Name" field, which is a default field as a search parameter. Concatenate it as FirstName MiddleName LastName, which work fine visually but if I were to search for the MiddleName it doesn't work, I need to add MiddleName as a search field.

    Reproduce:
    1. Go to: /#Admin/entityManager/
    2. Contact > Edit > Text Filter Fields > Add "Name" field, remove "MiddleName" field it it exist.
    3. Clear Cache & Rebuild
    4. Go to /#Contact/
    5. Search for a Middle Name. It will only search for the First and Last Name.
    6. Go back to Step 2 and add MiddleName, search again, and now it will search/filter middle name too.

    Is it intended to be design like this or is it a bug?

    EDIT/UPDATE: It seem for some of the name it manage to search MiddleName also, at least for the one that I have searched MiddeName for it start... maybe there some other reason why... Perhaps it because some of these Contact were create before EspoCRM introduce MiddleName? v5.x.x
    Last edited by esforim; 10-15-2021, 02:24 AM.
Working...