How to change the default sorting of the Members list?

Bellinis

Active member
How can I change the default sorting of the Members list?
Right now it sorts alphabetically, but I'd like to see it sorted by registration date (newest first).
 
That's disappointing :(
In vb you could simply change the URL to something like .members/list/?order=desc&sort=joindate&pp=30

Hopefully it will be possible in the near future though! :)
 
How can I change the default sorting of the Members list?
Right now it sorts alphabetically, but I'd like to see it sorted by registration date (newest first).
THen you would need to extend the index action in the member controller

relevant part:

PHP:
// users for the member list
		$users = $userModel->getUsers($criteria, array(
			'join' => XenForo_Model_User::FETCH_USER_FULL,
			'perPage' => $usersPerPage,
			'page' => $page
should be
PHP:
// users for the member list
		$users = $userModel->getUsers($criteria, array(
			'join' => XenForo_Model_User::FETCH_USER_FULL,
			'perPage' => $usersPerPage,
			'page' => $page,
                        'order' => 'register_date'
 
Top Bottom