Skip to content

Commit 7b02499

Browse files
committed
SelectColumn ClassName fix
1 parent bee2078 commit 7b02499

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Build/CommonAssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
//
1616
// You can specify all the values or you can default the Revision and Build Numbers
1717
// by using the '*' as shown below:
18-
[assembly: AssemblyVersion("3.6.26")]
19-
[assembly: AssemblyFileVersion("3.6.26")]
18+
[assembly: AssemblyVersion("3.6.27")]
19+
[assembly: AssemblyFileVersion("3.6.27")]
2020
//[assembly: AssemblyInformationalVersion("2.5-filters")]

Griddly.Mvc/GriddlySettings.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ public GriddlySettings<TRow> SelectColumn(Expression<Func<TRow, object>> id, obj
665665
};
666666

667667
if (className != null)
668-
col.ClassName += " " + ClassName;
668+
col.ClassName += " " + className;
669669

670670
Add(col);
671671

@@ -681,14 +681,13 @@ public GriddlySettings<TRow> SelectColumn(Dictionary<string, Func<TRow, object>>
681681

682682
var col = new GriddlySelectColumn(this)
683683
{
684-
SummaryValue = summaryValue,
685-
ClassName = className
684+
SummaryValue = summaryValue
686685
};
687686

688687
Add(col);
689688

690689
if (className != null)
691-
col.ClassName += " " + ClassName;
690+
col.ClassName += " " + className;
692691

693692
return this;
694693
}

0 commit comments

Comments
 (0)