alphagov / government-frontend

Serves government pages on GOV.UK
https://docs.publishing.service.gov.uk/apps/government-frontend.html
MIT License
52 stars 17 forks source link

Do not attempt to show siblings if there aren't any #3269

Closed brucebolt closed 2 months ago

brucebolt commented 3 months ago

When a parent manual has been withdrawn and redirected, we don't get the value for child_section_groups as the redirect content item doesn't contain this value.

Therefore not showing any siblings items at all when this is the case, as we can't be sure what the correct parent actually is for this manual section.

This also resolves an issue where there are no breadcrumbs given for an item.

Trello card