Jump to content

Photo
- - - - -

Advanced Browse Members - How to change "default sort order"

advanced browse members

  • Please log in to reply
No replies to this topic

#1 Charisma

Charisma

    Level 1

  • Members
  • Level
  • 5 points
  • 12 posts

Posted 31 August 2014 - 10:16 AM

Hi there,

So... I know how to customise the layout and search results sort order.

But when the page loads.

It has a default sort order of sort by displayname asending (ASC)

I found how to customise the templates using the tpl files
and change the search results sort order via /controller/pagecontroller.php

by changing order to
->order("{$userTableName}.level_id DESC", "{$userTableName}.view_count DESC");

This displays members by Subscription and Views.

HOWEVER... the page by "default view"... is displayname ASC

And I have searched for ages trying to figure out where to change this,

After a search is done... it works fine.

Can anyone help?





Also tagged with one or more of these keywords: advanced, browse, members

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


All the resources listed here are just for testing purpose and they shouldn't be used at any commercial environment without a valid license.
Those are for users who wants to try them before buy. Help the developer to build it better by purchasing them from original authors.