diff --git a/meshview/templates/nodelist.html b/meshview/templates/nodelist.html
index 58aa0d6..d0c92ed 100644
--- a/meshview/templates/nodelist.html
+++ b/meshview/templates/nodelist.html
@@ -266,7 +266,7 @@ select, .export-btn, .search-box, .clear-btn {
Last Latitude |
Last Longitude |
Channel |
- MQTT |
+ MQTT |
Last Seen |
|
@@ -331,7 +331,7 @@ const minStatusMs = 300;
const headers = document.querySelectorAll("thead th");
const keyMap = [
"short_name","long_name","hw_model","firmware","role",
- "last_lat","last_long","channel","last_seen_us"
+ "last_lat","last_long","channel","is_mqtt_gateway","last_seen_us"
];
function debounce(fn, delay = 250) {
@@ -717,6 +717,11 @@ document.addEventListener("DOMContentLoaded", async function() {
B = B || 0;
}
+ if (key === "is_mqtt_gateway") {
+ A = A ? 1 : 0;
+ B = B ? 1 : 0;
+ }
+
// Normalize strings for stable sorting
if (typeof A === "string") A = A.toLowerCase();
if (typeof B === "string") B = B.toLowerCase();