In composing a new PM, I use the Find Members option. I put in the * wildcard and check the box to only search for buddies. I get results showing two pages. When I try to go to the second page of results, it changes and shows me all members due to the * wildcard. Any ideas?
What smf version you got?
Sorry, 1.1 RC3.
Another bump. Is this just release candidate stuff and the final version won't have this bug?
Looks like it's due to a minor typo. I'll report it as a bug, but here's how you can fix it in the meantime...
Sources/Subs-Auth.php
Find
$context['page_index'] = constructPageIndex($scripturl . '?action=findmember;search=' . $context['last_search'] . ';sesc=' . $context['session_id'] . ';input=' . $context['input_box_name'] . ($context['quote_results'] ? ';quote=1' : '') . ($context['buddy_search'] ? ';buddy' : ''), $_REQUEST['start'], $total_results, 7);
Replace
$context['page_index'] = constructPageIndex($scripturl . '?action=findmember;search=' . $context['last_search'] . ';sesc=' . $context['session_id'] . ';input=' . $context['input_box_name'] . ($context['quote_results'] ? ';quote=1' : '') . ($context['buddy_search'] ? ';buddies' : ''), $_REQUEST['start'], $total_results, 7);
Thanks!
This issue has been fixed for 1.1 final. In the mean time, everyone is welcome to use the fix Oldiesmann posted.
! The "Find Members" box loses track of whether it's buddies only on pagination. (Subs-Auth.php)