add option to include/exclude areas to UI
This commit is contained in:
parent
1c10ce443a
commit
91b9bc92b8
7 changed files with 70 additions and 23 deletions
|
@ -53,7 +53,6 @@ class Route:
|
|||
|
||||
@staticmethod
|
||||
def describe_point(point):
|
||||
print(point.arealocations)
|
||||
locations = sorted(AreaLocation.objects.filter(location_type__in=('room', 'level', 'area'),
|
||||
name__in=point.arealocations),
|
||||
key=AreaLocation.get_sort_key, reverse=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue