Skip to content

Commit f146d3e

Browse files
committed
Merge branch 'hotfix-18.2' into develop
2 parents c216902 + 338879f commit f146d3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rock.Blocks/Reporting/DynamicData.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ private string GetGridField( string columnName, List<ColumnConfigurationBag> col
10031003
}
10041004

10051005
/// <summary>
1006-
/// Gets the person key field from the hidden key column configuration.
1006+
/// Gets the person key field for the provided column configuration, from the corresponding hidden key column configuration.
10071007
/// </summary>
10081008
/// <param name="column">The person column configuration for which to get the key field.</param>
10091009
/// <param name="columnConfigurations">The column configurations to search.</param>
@@ -1019,7 +1019,7 @@ private string GetPersonKeyField( ColumnConfigurationBag column, List<ColumnConf
10191019
{
10201020
// Try to find the matching, hidden key column configuration.
10211021
var hiddenKeyColumn = columnConfigurations
1022-
.FirstOrDefault( c => c.Name.ToUpper() == GetHiddenKeyColumnName( c.ActualColumnName ).ToUpper() );
1022+
.FirstOrDefault( c => c.Name.ToUpper() == GetHiddenKeyColumnName( column.ActualColumnName ).ToUpper() );
10231023

10241024
if ( hiddenKeyColumn?.CamelCaseName.IsNotNullOrWhiteSpace() == true )
10251025
{

0 commit comments

Comments
 (0)