Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/1477 cqc workplace questions in sub navigate to parent #6306

Merged

Conversation

duncanc19
Copy link
Collaborator

Issue

Users were being taken back to the parent view on certain CQC/workplace details pages after clicking Continue to navigate to the next page. This was due to the uid of the primary workplace being set in the URL for the pages you navigate to, instead of the uid of the workplace the user is currently viewing.

Work done

  • Updated pages to use the uid of the current workplace for setting URLs of pages to navigate to
    • Workplace not found page
    • New main service regulated by CQC
    • Select workplace
    • Postcode/location ID entry page for CQC regulated workplaces

Tests

Does this PR include tests for the changes introduced?

  • Yes
  • No, I found it difficult to test
  • No, they are not required for this change

@duncanc19 duncanc19 merged commit a10f762 into main Jul 30, 2024
5 checks passed
@duncanc19 duncanc19 deleted the fix/1477-cqc-workplace-questions-in-sub-navigate-to-parent branch July 30, 2024 14:04
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.

2 participants