Feature proposal #4924
Implement userlist parameter to hide initial users display
When viewing a userlist the initial display of users is forced except when hide empty searches is set to Yes. This should be expanded for more control of the list display.
"Hide Empty Searches" should do exactly as it entitles. It should prevent empty searches. So if you search and there's no results then it should display nothing.
"Collapse Search Criteria" should behave as it already does. However, it should condition it self. For example if "Hide Initial Users Display" is set to No then the criteria should be expanded as it makes no sense to be collapsed in this scenario. Another scenario is "Hide Empty Searches" set to Yes and there's no search results; in this case it should also be expanded.
"Hide Initial Users Display" should determine if the initial display of users is shown when no search has been made. It has no effect on display of empty searches. This should determine if List All is shown or not (and only if a search has been made).
With these 3 parameters you can get search mode 0, 1, 2 results and much more. For B/C the searchmode (only 1 and 2, 0 should use parameters only) should basically just adjust those parameters as needed to give the expected results.