mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#19311: Adding missing StringMaxLength attribute
Work Item: 19311 --HG-- branch : 1.x
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Orchard.ContentManagement.Records;
|
||||
using Orchard.Data.Conventions;
|
||||
|
||||
namespace Orchard.Search.Models {
|
||||
public class SearchSettingsPartRecord : ContentPartRecord {
|
||||
@@ -8,6 +9,8 @@ namespace Orchard.Search.Models {
|
||||
}
|
||||
|
||||
public virtual bool FilterCulture { get; set; }
|
||||
|
||||
[StringLengthMax]
|
||||
public virtual string SearchedFields { get; set; }
|
||||
public virtual string SearchIndex { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user