Usually you're interested in the things that are broken, rather than the things that are fine, so this will set zIndexOffset to 10000 for the leaflet markers on the world map, if a device is down (red marker). They will then appear in the foreground and won't be hidden by green markers.
I assume that is what the "ORDER BY status ASC" in the SQL was meant for, but it didn't seem to have an effect on the leaflet marker order for me.
world map: move markers to foreground for hosts that are down
I agree to the conditions of the Contributor Agreement contained in d…
Auto-Deploy finished, Test PR at http://2127.ci.librenms.org or https://2127.ci.librenms.org