I would like to be able to sort my contact list to retrieve the ones that has no activities since a long time in order to contact them. The contacts that are inactive for the longest time would be on top of the list.
I already know how to build custom search in Sugar, but this one seems to be to hard for me…
any advices?
I’d rather do the following:
You can also create so called ‘non-db’ custom field instead of real db field to calculate ‘last_activity_date’ on-the-fly. But in this case you’ll probably face with sorting issues while working with ListView: trying to sort records in ListView against ‘non-db’ fields “blanks” all the records returned by ListView. Moreover you’ll have to extend existing Contact bean and build custom queries to be able to sort records in ListView and use searchdefs filters.