Skip to content

Commit

Permalink
+ (Engagement) Fixed the Sign-up Finder block to only show active sch…
Browse files Browse the repository at this point in the history
…edules when the Display Named Schedule Filter is enabled. (Fixes #5631)
  • Loading branch information
nairdo committed Oct 13, 2023
1 parent 367788a commit 4aa53eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rock.Blocks/Engagement/SignUp/SignUpFinder.cs
Expand Up @@ -602,7 +602,7 @@ private List<ListItemBag> GetNamedScheduleFilterItems( RockContext rockContext )
var rootScheduleCategoryId = CategoryCache.GetId( rootScheduleCategoryGuid.Value );
if ( rootScheduleCategoryId.HasValue )
{
query = query.Where( a => a.CategoryId.HasValue && a.CategoryId.Value == rootScheduleCategoryId.Value );
query = query.Where( a => a.CategoryId.HasValue && a.CategoryId.Value == rootScheduleCategoryId.Value && a.IsActive );
}
}

Expand Down

0 comments on commit 4aa53eb

Please sign in to comment.