Skip to content

Commit

Permalink
refactor ambiguous reference of col graphid in __get_nodegrou_tree, re
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisgalen committed Aug 23, 2024
1 parent 1f3bcc8 commit a366cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/models/migrations/8009_etlmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
DECLARE
_nodegroupid uuid;
BEGIN
FOR _nodegroupid IN select ng.nodegroupid from node_groups ng join nodes n on ng.nodegroupid = nodeid where graphid = graph_id and ng.parentnodegroupid is null
FOR _nodegroupid IN select nodegroupid from node_groups where graphid = graph_id and parentnodegroupid is null
LOOP
RETURN QUERY SELECT _nodegroupid, * FROM __get_nodegroup_tree(_nodegroupid);
END LOOP;
Expand Down

0 comments on commit a366cc6

Please sign in to comment.