×
Menu
Site Option - Issue Pre-Filter
 
Issue Pre-Filter
 
This option allows custom SQL code to be inserted before the regular RMTrack issue filtering rules. It can be used to further restrict the list of issues shown to users.
 
For example, you could use a pre-filter to stop external clients from seeing internal issues:
 
----------------------------------------
(
    (exists(select * from UserGroups as ug
              where ug.UserId = @CurrentUserId and ug.GroupCode = 'Client')
        and Issues.InternalIssue = 0)
or
    (not exists(select * from UserGroups as ug
                    where ug.UserId = @CurrentUserId and ug.GroupCode = 'Client'))
)
----------------------------------------
 
NOTE: This option requires advanced knowledge of both SQL and of the RMTrack database. It is recommended that you contact support@rmtrack.com for assistance with this feature.
where is this