Has somebody tested search in accounts and get a proper result? I don't.
Search in modules don't work as expected. A search is done but all records are beeing displayed. Only in the accounts module the search string is saved. In contacts and leads (others?) nothing is saved.
Search should only display the found records and the search string should be saved.
See above and the screenshot

Same problem here.
My environment:
PHP 7.0.5, Apache 2.4.18
To fix this add $this->searchFields = $searchFields[$this->module]; on line 130 of include/SearchForm/SearchForm2.php
Which file?
include/SearchForm/SearchForm2.php
sorry missed the filename
Thank you!
Works like a charm!
:+1:
I can also confirm the bug and the fix on a clean install of 7.2.2
I have the same issue. It worked fine with 7.2.1 and broke after upgrading to 7.2.2.
Bug real, fix real. Also was hoping this fix would take care of favorites search not working... no such luck.
The fix corrects the problem with no results, but custom modules in basic search return all rows.
Global (in basic) search return all rows too...
This is resolved in Release 7.7.3 Let us know if this needs to be re-opened.
Custom modules for me are still returning all rows in basic search
The basic & adv searches work for my custom modules on 7.7.3
Advanced searches work for me, but my custom module returns all rows in basic search. Could be my module-- someone else can verify if they also have the problem in basic search. I switched to advanced for now.
I picked this up in 7.7.2 and upgraded to 7.7.4, skipping 7.7.3, and the problem persists in basic and advanced searches for contacts/leads/targets (and possibly other places).
@samus-aran how do you let someone know this needs to be re-opened?
Most helpful comment
To fix this add $this->searchFields = $searchFields[$this->module]; on line 130 of include/SearchForm/SearchForm2.php