Advanced Search (search by complete or partial name) returns all contacts
Overview
Please describe your problem or bug in detail.
If you have already posted on https://civicrm.stackexchange.com or https://chat.civicrm.org, please include the link to that conversation.
Reproduction steps
- Click on Advanced Search.
- Click on (search by complete or partial name).
- Two boxes appear.
- Enter something in one of the boxes and click Search
Current behaviour
What happens currently. Please provide error messages, screenshots or gifs (LICEcap, SilentCast) where appropriate.
All contacts appear. Note Accounts are actually in trash in my test data set.
Expected behaviour
What should happen.
Only contacts meeting the criteria should appear.
Environment information
- Browser: Edge, but probably irrelevant
- CiviCRM: 5.29 alpha1, but also seen in 5.27.2
- PHP: 7.4, but probably irrelevant._
- CMS: Joomla 3.9.5 but probably irrelevant
- Database: MySQL 5.7.30 but probably irrelevant.
- Web Server: IIS, but also seen under Apache. Probably irrelevant..
Comments
Anything else you would like the reviewer to note.
- If Search in Trash is ticked, all Trash entries are returned.
- When you click on Edit Search Criteria and repeat the above process, the boxes are blank.