Skip to content

Commit

Permalink
manual revert of earlier refactor of get_ng_tree(), re #11396
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisgalen committed Aug 23, 2024
1 parent 8c88482 commit aa4b4e3
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 where ng.graphid = graph_id and ng.parentnodegroupid is null
FOR _nodegroupid IN select ng.nodegroupid from node_groups ng join nodes n on ng.nodegroupid = nodeid where n.graphid = graph_id and ng.parentnodegroupid is null
LOOP
RETURN QUERY SELECT _nodegroupid, * FROM __get_nodegroup_tree(_nodegroupid);
END LOOP;
Expand Down

0 comments on commit aa4b4e3

Please sign in to comment.