fix coordinate group in saved filter (#536)

This commit is contained in:
Mario
2024-07-24 22:22:13 +02:00
committed by GitHub
parent aba0598947
commit 96afdf8d83
4 changed files with 16 additions and 6 deletions
+5 -1
View File
@@ -173,6 +173,10 @@ def get_query_settings(request):
if request.GET["group_racks"] == "True" :
group_racks = True
group = False
if "group" in request.GET:
group = request.GET["group"]
show_neighbors = False
if "show_neighbors" in request.GET:
if request.GET["show_neighbors"] == "True" :
@@ -183,7 +187,7 @@ def get_query_settings(request):
if request.GET["straight_cables"] == "True":
straight_cables = True
return filter_id, save_coords, show_unconnected, show_power, show_circuit, show_logical_connections, show_single_cable_logical_conns, show_cables, show_wireless, group_sites, group_locations, group_racks, show_neighbors, straight_cables
return filter_id, save_coords, show_unconnected, show_power, show_circuit, show_logical_connections, show_single_cable_logical_conns, show_cables, show_wireless, group_sites, group_locations, group_racks, group, show_neighbors, straight_cables
class LinePattern():
wireless = [2, 10, 2, 10]