This is probably just an admin setting, but how can I sort by different columns in the list view for the accounts module? I can sort by account and phone only. I would like to sort all the columns.
This is probably just an admin setting, but how can I sort by different columns in the list view for the accounts module? I can sort by account and phone only. I would like to sort all the columns.
Hi, c00ps.
Check the file modulesAccounts/metadata/listviewdefs.php or custom/modules/Accounts/metadata/listviewdefs.php
If exists the custom, then open it.
Check if all fields has the attribute 'sortable' and it is set to true.
Cheers
--
André Lopes
Lâmpada Global Services
Rua Bela Cintra, 299 conjunto. 51
São Paulo, SP 01415-000
tel1. 55 11 3237-3110
cel. 55 11 7636-5859
e-mail: info@lampadacrm.com.br
It's still not sorting, and it's probably an error on my part. Here an example from that file with the addition you mentioned:Originally Posted by andopes
Is there something I'm missing?Code:$listViewDefs['Accounts'] = array( 'NAME' => array( 'width' => '40', 'label' => 'LBL_LIST_ACCOUNT_NAME', 'link' => true, 'sortable => true, 'default' => true), 'BILLING_ADDRESS_CITY' => array( 'width' => '10', 'label' => 'LBL_LIST_CITY', ), 'default' => true), 'PHONE_OFFICE' => array( 'width' => '10', 'label' => 'LBL_LIST_PHONE', 'sortable => true, 'default' => true), 'ACCOUNT_TYPE' => array( 'width' => '10', 'label' => 'LBL_TYPE'), 'sortable => true,
Changing the listviewdefs.php is has no effect. How can I sort by different columns, or all the columns?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks