nodelist now also works with API

This commit is contained in:
Pablo Revilla
2025-09-12 07:46:45 -07:00
parent 9c4171928a
commit aea81f77f8
2 changed files with 3 additions and 2 deletions

View File

@@ -276,7 +276,7 @@ async def get_nodes(role=None, channel=None, hw_model=None, days_active=None):
query = query.where(Node.last_update != "")
# Order results by long_name in ascending order
query = query.order_by(Node.long_name.asc())
query = query.order_by(Node.short_name.asc())
# Execute the query and retrieve results
result = await session.execute(query)

View File

@@ -38,7 +38,8 @@
{% endblock %}
{% block body %}
<div id="map" style="width: 100%; height: 600px;"></div>
<div id="map" style="width: 100%; height: calc(100vh - 270px)"></div>
<div id="filter-container">
<input type="checkbox" class="filter-checkbox" id="filter-routers-only"> Show Routers Only
</div>