don't filter graph edges in level graph view
This commit is contained in:
parent
14d49bf2a1
commit
540f72244f
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class EditorViewSet(ViewSet):
|
|||
graphedges = request.changeset.wrap_model('GraphEdge').objects.all()
|
||||
graphedges = graphedges.filter(Q(from_node__in=graphnodes) | Q(to_node__in=graphnodes))
|
||||
graphedges = graphedges.select_related('from_node', 'to_node', 'waytype')
|
||||
graphedges = [edge for edge in graphedges if edge.from_node.space_id != edge.to_node.space_id]
|
||||
# graphedges = [edge for edge in graphedges if edge.from_node.space_id != edge.to_node.space_id]
|
||||
|
||||
results = chain(
|
||||
*(self._get_level_geometries(l) for l in levels_under),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue