diff --git a/Oqtane.Server/Repository/SearchContentRepository.cs b/Oqtane.Server/Repository/SearchContentRepository.cs index 8047ae95..2c2a5e17 100644 --- a/Oqtane.Server/Repository/SearchContentRepository.cs +++ b/Oqtane.Server/Repository/SearchContentRepository.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Query; using Oqtane.Models; using Oqtane.Shared; diff --git a/Oqtane.Shared/Models/SearchContent.cs b/Oqtane.Shared/Models/SearchContent.cs index a5e3a295..0fc4465f 100644 --- a/Oqtane.Shared/Models/SearchContent.cs +++ b/Oqtane.Shared/Models/SearchContent.cs @@ -34,11 +34,9 @@ namespace Oqtane.Models [NotMapped] public bool IsDeleted { get; set; } - public DateTime CreatedOn { get; set; } - public List SearchContentProperties { get; set; } - public List SearchContentWords { get; set; } + public DateTime CreatedOn { get; set; } [NotMapped] public int TenantId { get; set; } @@ -46,6 +44,8 @@ namespace Oqtane.Models [NotMapped] public string UniqueKey => $"{TenantId}:{SiteId}:{EntityName}:{EntityId}"; + public List SearchContentWords { get; set; } + // constructors public SearchContent() { }