From 56c4f983a2b9ab359b2c0ca8b769e1b8ac2e174f Mon Sep 17 00:00:00 2001 From: Roberto T <61755417+RobertGlobant20@users.noreply.github.com> Date: Tue, 30 May 2023 07:27:43 -0600 Subject: [PATCH] DYN-5787 LuceneNET in the InCanvasSearch Bug Fix (#14030) fix: Some nodes like "Color Palette" or "String from Object" were not appearing in the Search, with this fix they are now appearing. --- src/DynamoCore/Models/DynamoModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DynamoCore/Models/DynamoModel.cs b/src/DynamoCore/Models/DynamoModel.cs index 40f5066fd41..71703b4db88 100644 --- a/src/DynamoCore/Models/DynamoModel.cs +++ b/src/DynamoCore/Models/DynamoModel.cs @@ -3262,7 +3262,7 @@ private NodeModelSearchElement AddNodeTypeToSearch(TypeLoadData typeLoadData) return null; } var node = new NodeModelSearchElement(typeLoadData); - SearchModel?.Add(new NodeModelSearchElement(typeLoadData)); + SearchModel?.Add(node); return node; }