Description
The media.properties:
search.default.search-in-display-name-or-extension, and
search.default.search-in-name-or-extension
control the default group search. Two attributes can be searched, but the default is for displayName. The code incorrectly tests for an 'empty' value and so also searches the 'extension' attribute.
In addition, if the search is carried out against two attributes the merging of results is very inefficient.