Skip to content

Commit

Permalink
fix nodes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Dec 17, 2023
1 parent c425a34 commit 9a08ff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arches_orm/arches_django/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ def where(cls, cross_record=None, **kwargs):
value = kwargs[key]

tiles = TileProxyModel.objects.filter(
nodegroup_id=cls._build_nodes()[key]["nodegroupid"],
data__contains={cls._build_nodes()[key]["nodeid"]: value},
nodegroup_id=cls._node_objects_by_alias()[key]["nodegroupid"],
data__contains={cls._node_objects_by_alias()[key]["nodeid"]: value},
)
return [
cls.from_resource_instance(tile.resourceinstance, cross_record=cross_record)
Expand Down

0 comments on commit 9a08ff8

Please sign in to comment.