Skip to content

Commit

Permalink
+ Updated check-in to print labels in configured order (Fixes #1007).
Browse files Browse the repository at this point in the history
  • Loading branch information
azturner committed Apr 30, 2015
1 parent e647405 commit ec3b9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rock/Workflow/Action/CheckIn/CreateLabels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public override bool Execute( RockContext rockContext, Model.WorkflowAction acti
private void GetGroupTypeLabels( GroupType groupType, List<CheckInLabel> labels, Dictionary<string, object> mergeObjects )
{
//groupType.LoadAttributes();
foreach ( var attribute in groupType.Attributes )
foreach ( var attribute in groupType.Attributes.OrderBy( a => a.Value.Order ) )
{
if ( attribute.Value.FieldType.Guid == SystemGuid.FieldType.BINARY_FILE.AsGuid() &&
attribute.Value.QualifierValues.ContainsKey( "binaryFileType" ) &&
Expand Down

0 comments on commit ec3b9a3

Please sign in to comment.