fix: nodelist sort by `viaMqtt`

pull/1409/head
andrekir 2024-11-15 06:46:37 -03:00
rodzic 1a86de224d
commit 02af81aeb0
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -69,7 +69,7 @@ interface NodeInfoDao {
ELSE hops_away
END
WHEN :sort = 'channel' THEN channel
WHEN :sort = 'via_mqtt' THEN long_name LIKE '%(MQTT)' -- viaMqtt
WHEN :sort = 'via_mqtt' THEN via_mqtt
ELSE 0
END ASC,
last_heard DESC

Wyświetl plik

@ -1394,8 +1394,8 @@ class MeshService : Service(), Logging {
if (isLicensed) clearPublicKey()
if (info.viaMqtt) longName = "$longName (MQTT)"
}
it.longName = info.user.longName
it.shortName = info.user.shortName
it.longName = it.user.longName
it.shortName = it.user.shortName
}
if (info.hasPosition()) {