vt730 master: Custom View Handling a bit broken with the defaultlanding page...
I have a customer who wants a very tightly "locked-down" vtiger system. They have created a filter for each entity module and made it public. All other filters are set to Private and owned by one user. If they decide to share a filter with a user they can use the sharing option. (Although if a user is in higher role, any particular sharing setting is overidden by the Role Hierarchy - see query in CustomView_Record_Model::getAll() - which I think could be confusing for users. Why able to specify to share with individual users or roles or groups when configuring a filter if they are then overridden by the role hierarchy anyway?).
Anyway the main point is this: if I make this custom filter the default for all users (recorded in vtiger_user_module_preferences) AND I have a default landing page of a normal entity module, e.g. Accounts, then when I first login, or when I click the Company logo top-right I am always sent to the system "All" filter, even though the custom filter is set as the default. If I remove or hide the "All" filter by changing it in the database then I am presented with this.
Here is the proof it is set to default.
My guess this is because in the Vtiger_List_View class, the preProcess defaults to the "All" filter. With a default landing page IMHO this should use the configured default filter of the user first (in vtiger_user_module_preferences) and if that is not set, then use the "All" filter as a fallback?