I have been looking to use a custom query for a ListView (tasks) in SugarCRM 5.5.1, and found the file view.list.php to control the used query, but not in a very straight forward way....I also found this example of overriding parts of the query with an upgrade safe custom view.list.php in the /custom folder (look under Ordering):
http://apps.sugarcrm.com/wiki/index.php?title=ListView_metadata
But I still do not see how I could inject my own compete custom query in the code...anyone?
Rgds PM