Skip to content

Conversation

@nucleogenesis
Copy link
Member

Summary

When only one facility exists, the redirection after copying a class from the class details page would work fine - but if you had multiple facilities, the redirection wasn't using it.

This uses an existing utility (that should probably be replaced relatively soon) in vuex that gives facility-aware links.

References

Fixes #13845

Reviewer guidance

Should fix the reported issue.

@github-actions github-actions bot added APP: Facility Re: Facility App (user/class management, facility settings, csv import/export, etc.) DEV: frontend SIZE: very small labels Oct 23, 2025
Copy link
Member

@pcenov pcenov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nucleogenesis, I confirm that #13845 is fixed now.

Copy link
Member

@AlexVelezLl AlexVelezLl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look good too!

@rtibbles rtibbles merged commit e4ce4c3 into learningequality:develop Oct 23, 2025
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

APP: Facility Re: Facility App (user/class management, facility settings, csv import/export, etc.) DEV: frontend SIZE: very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Facility > Classes - Copying a class from within the class details page brings the user back to ManageClassPage/facilities

4 participants