Fix typo for "AlterateTitle"
This commit is contained in:
@@ -11,15 +11,15 @@ namespace LeafWeb.Core.Utility
|
||||
public int? BoolEncodedPosition { get; private set; }
|
||||
public string Units { get; private set; }
|
||||
public string Title { get; private set; }
|
||||
public string AlterateTitle { get; private set; }
|
||||
public string AlternateTitle { get; private set; }
|
||||
public string ExampleValue { get; private set; }
|
||||
public string[] FieldNames
|
||||
{
|
||||
get
|
||||
{
|
||||
var fieldNames = new[] {Title, Title.SplitCamelCase()};
|
||||
if (!string.IsNullOrEmpty(AlterateTitle))
|
||||
fieldNames = fieldNames.Concat(new[] { AlterateTitle }).ToArray();
|
||||
if (!string.IsNullOrEmpty(AlternateTitle))
|
||||
fieldNames = fieldNames.Concat(new[] { AlternateTitle }).ToArray();
|
||||
return fieldNames;
|
||||
}
|
||||
}
|
||||
@@ -28,7 +28,7 @@ namespace LeafWeb.Core.Utility
|
||||
string units = null, string alternateTitle = null, string exampleValue = null,
|
||||
int boolEncodedPosition = -1)
|
||||
{
|
||||
AlterateTitle = alternateTitle;
|
||||
AlternateTitle = alternateTitle;
|
||||
ExampleValue = exampleValue;
|
||||
Title = title;
|
||||
Position = position;
|
||||
|
||||
Reference in New Issue
Block a user