VizAlerts
VizAlerts copied to clipboard
VizAlertsConfig workbook contains logic error for customized views
In the custom SQL for the postgreSQL connection in the VizAlertsConfig workbook, the domain name for a user's customized view is being pulled from the "d" (domains) table, but this is actually the domain name for the user who created the workbook/view, not the user who created the customized view:
INNER JOIN users u
ON v.owner_id = u.id
That's incorrect, and in a multi-domain environment, this could cause issues (probably rarely, but it'd be tough to troubleshoot).