From b0e121a53f687bdf9220f7e0f084c382cf4c8175 Mon Sep 17 00:00:00 2001 From: sbwalker Date: Thu, 18 Jul 2024 11:10:24 -0400 Subject: [PATCH] fix ISearchable implementation in default module template --- .../Templates/External/Server/Manager/[Module]Manager.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Oqtane.Server/wwwroot/Modules/Templates/External/Server/Manager/[Module]Manager.cs b/Oqtane.Server/wwwroot/Modules/Templates/External/Server/Manager/[Module]Manager.cs index 63945d3d..0779a608 100644 --- a/Oqtane.Server/wwwroot/Modules/Templates/External/Server/Manager/[Module]Manager.cs +++ b/Oqtane.Server/wwwroot/Modules/Templates/External/Server/Manager/[Module]Manager.cs @@ -71,7 +71,9 @@ namespace [Owner].Module.[Module].Manager { searchContentList.Add(new SearchContent { - Title = pageModule.Module.Title, + EntityName = "[Owner][Module]", + EntityId = [Module].[Module]Id.ToString(), + Title = [Module].Name, Body = [Module].Name, ContentModifiedBy = [Module].ModifiedBy, ContentModifiedOn = [Module].ModifiedOn