Skip to content

Hide inactive chapters from the first-time signup page - #2875

Merged
mroderick merged 1 commit into
masterfrom
fix/step2-hide-inactive-chapters
Sep 14, 2026
Merged

mroderick merged 1 commit into
masterfrom
fix/step2-hide-inactive-chapters

Conversation

@mroderick

Copy link
Copy Markdown
Collaborator

Follow-up to #2816: new members signing up for the first time could still subscribe to deactivated chapters. The merged /subscriptions fix (#2825) covered only the manage-subscriptions page; the signup step 2 page (MembersController#step2) loaded Group.coaches/Group.students without an active-chapter filter, so every chapter, active or not, was offered.

This PR applies the same filter used in #2825 and covers both the coach and student branches in the feature spec.

Review notes

Fixes the follow-up to issue #2816: the signup step 2 page
(step2_member_path) listed groups from deactivated chapters because
MembersController#step2 loaded Group.coaches/Group.students without an
active filter. Filter to active chapters, matching the /subscriptions
fix in PR #2825, and cover both the coach and student branches in the
feature spec.
@mroderick
mroderick marked this pull request as ready for review September 14, 2026 16:32
@mroderick
mroderick merged commit ac72d5d into master Sep 14, 2026
10 checks passed
@mroderick
mroderick deleted the fix/step2-hide-inactive-chapters branch September 14, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant