Jump to content

Members - default sorting


Axel Wers

Recommended Posts

  • 1 year later...
  • 2 months later...

Open adminapplicationsmembersmodules_publiclistview.php and find:

        $this->sort_key        = !empty($this->request['sort_key']) ? $this->request['sort_key']    : 'members_display_name';
        $this->sort_order    = !empty($this->request['sort_order']) ? $this->request['sort_order']  : 'asc';


To order by post count, change to:

        $this->sort_key        = !empty($this->request['sort_key']) ? $this->request['sort_key']    : 'posts';
        $this->sort_order    = !empty($this->request['sort_order']) ? $this->request['sort_order']  : 'desc';

To order by joined date, change to:

        $this->sort_key        = !empty($this->request['sort_key']) ? $this->request['sort_key']    : 'joined';
        $this->sort_order    = !empty($this->request['sort_order']) ? $this->request['sort_order']  : 'desc';
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...