Reply To: Re-ordering a custom groups loop
I looked at the BuddyPress core files global.js and ajax.php in /bp_default/_inc/ and found the function that manages the filter select box.
Then I fixed the HTML and used the appropriate classes and now the select box works and the groups loop is re-queried (using BuddyPress AJAX) but it reloads the default loop template instead of my modified loop template.
I also added the search bar to my page using bp_directory_groups_search_form() and that works perfectly. The search results are returned using the modified groups loop.
Any ideas how I could make the filter select box reload by modified groups loop too?