#19311: Adding missing StringMaxLength attribute

Work Item: 19311

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2013-07-06 10:54:43 -07:00
parent 01f2226a32
commit 5de70a9b75

View File

@@ -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; }
}