Loading...
 

Each module has defined its default column for sorting. This must be changed in the code in the module's main script. For example, for Accounts we can find:

//Added these variables which are used as default order by and sortorder in ListView
  var $default_order_by = 'accountname';
  var $default_sort_order = 'ASC';

where we can change the variable $default_order_by to any valid column of the account

 Warning!

For this to work we must set the variable 'LISTVIEW_DEFAULT_SORTING' to true in the file config.performance.php

 

Admin Manual
Developer Manual