AnsweredAssumed Answered

Sort by Account Name in Custom Module

Question asked by KarenV KarenV on Mar 11, 2015
Latest reply on Mar 16, 2015 by KarenV KarenV
Sugar Enterprise


I have a custom module that has a custom relationship with Accounts. In List View, we can have the associated Account name show as column.

How can I sort by Account Name? I've tried adding 'sortable' => true into list.php but that doesn't work.

Also within metadata there isn't a file called listviewdefs anywhere. Instead, I found list view under base/views/list/list.php

Can anyone direct me to the right file and tell what line I should add to make Account Name sortable in my custom module?