I am trying to display latest lead/last connected lead on top in list view.
How to change default sort order as desc based on date modified/date created for Leads subpanel under Accounts detail view?
I am not sure for SugarCRM 6.5, but in SUgarCRM 7.x subpanels remember last sorting, so next time you visit Account details page, contacts in subpanel will be sorted like you sorted during last time. It works even after you logout/login again.
Of course that this can be done programmatically using metadata, but try first solution I suggested.
Thank you for reply.
Yes that's right, but I want to sort subpanel list by default based on date modified or date created, so that every time someone opens detail view they will found list sorted according to preference set.
Retrieving data ...