Fix Schematic Move

Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
2025-11-12 22:52:51 +01:00
parent 33efd26d48
commit afcf3a1906
@@ -149,8 +149,7 @@ class SchematicNode(id: EntityID<Int>) : IntEntity(id) {
"WITH RECURSIVE R AS (SELECT NodeId, ParentNode FROM EffectiveSchematicNode WHERE NodeId = ? UNION SELECT E.NodeId, E.ParentNode FROM R, EffectiveSchematicNode E WHERE R.ParentNode = E.NodeId AND E.EffectiveOwner = ?) SELECT SN.NodeId, SN.NodeOwner, SN.NodeName, R.ParentNode, SN.LastUpdate, SN.NodeItem, SN.NodeType, SN.NodeRank, SN.Config FROM R INNER JOIN SchematicNode SN ON SN.NodeId = R.NodeId",
listOf(
IntegerColumnType() to id,
IntegerColumnType() to user.getId(),
IntegerColumnType() to user.getId(),
IntegerColumnType() to user.getId()
), fieldIndex
)