Describe the bug
If a device has not been associated to a site, it will never appear in monitor
Expected behavior
When using "All sites" or "Non-Site Devices", the device should be shown.
Additional context
The reason for this is that render_site() has a specific "INNER JOIN" for the site table. That join should be a left join as the site may not exist (eg, when the id is 0)
Describe the bug If a device has not been associated to a site, it will never appear in monitor
Expected behavior When using "All sites" or "Non-Site Devices", the device should be shown.
Additional context The reason for this is that
render_site()
has a specific "INNER JOIN" for the site table. That join should be a left join as the site may not exist (eg, when the id is 0)