I had reported the issue during CB 2.0 development already here:
www.joomlapolis.com/forum/153-professional-member-support/226690-cb-20-2-issues?limitstart=0#250189
At some time during development it seemed to have vanished after reassigning the list to the menu again. However the issue has emerged again and this time reassigning does not help.
The issue is as follows: When user list is set to show search form submitting the empty userlist form does not show any results.
With user list set to "list" or to "search and list" empty submission does display the user list as expected.
I have tried to nail down the issue but it is hard to follow the code.
The weird issue starts with the total number. Although there are thousands of users in that list, the total member number in the search form is 0.
When I checked in cbUsersList.php it seems that around line 428 there is an if clause that is never met under the circumstances provided.
Code:
if ( ( $searchMode == 0 ) || ( ( $searchMode == 1 ) && $searchCount ) || ( $searchMode == 2 ) ) {
I cannot tell if this causes the issue all I can tell is that in case of "list" and "search and list" the if clause gets met and the rest proceeds as normal. Only in the cease of "search" only this clause never gets met and no user list gets displayed.
What is going wrong here?
Edit: Maybe I need to stress that only the empty submission of the userlist search causes this problem. As soon as a single field gets filled with a value, the search executes an displays the user list as expected.
Edit: When I remove "&& $searchCount" from line 428 in cbUsersList.php then at least it seams to create and execute the correct statements. Before that it did not even do that.
However there is no display of the user list. Inspecting $tableContent from comprofiler.html.php dies reveal that the query to fetch the correct fields have been executed and the variable $tableContent is an array of all of them. However it does not get displayed as user list. So something else is not working correctly here.