Sugarcrm is sorted by name, not by name
1 answer
If first_name
and last_name
both are db fields, you can apply sorting in the listview in the same way as the name ( listviewdefs.php: sortable=>true
) field . You only need to add this code
first_name' => array( 'query_type'=>'default'),
'last_name' => array( 'query_type'=>'default'),
in the searchFields.php
file.
+2
source to share