vTiger: Associating filters with users

TO-DO: Associate the filters for the modules (such as Leads, Accounts, etc.) with users, so that when users log in, they get to see only the filters that they created and which belong to them.

HOW-TO

  • The file that handles the view based on filters seems to all be in modules/CustomView/CustomView.php
  • The database tables that are used to store the filters are vtiger_cvstdfilter and vtiger_cvadvfilter
  • vtiger_customview has the names of the filters, and the cvid field is used in the two tables above.

So we need to add a field to one of these tables.

No comments yet

Leave a reply