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