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

Do not include unpublished pages in breadcrumb #2020

Merged
merged 2 commits into from
Feb 5, 2021

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Feb 5, 2021

What is this pull request for?

It does not make sense to include an unpublished page in a breadcrumb since the user is not able to navigate to it anyway.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen added this to the 6.0 milestone Feb 5, 2021
@tvdeyen tvdeyen requested a review from mamhoff February 5, 2021 17:38
It does not make sense to include an unpublished
page in a breadcrumb since the user is not able to
navigate to it anyway.
This ability has only be used for the breadcrumb.
Since the breadcrumb does not include any non-published pages anymore,
we do not need this ability anymore.
@tvdeyen tvdeyen force-pushed the breadcrumb-no-unpublished-pages branch from b0dd435 to b6e0af9 Compare February 5, 2021 18:18
Copy link
Contributor

@mamhoff mamhoff left a comment

Choose a reason for hiding this comment

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

✂️

@tvdeyen tvdeyen merged commit 302c92c into AlchemyCMS:six-o Feb 5, 2021
@tvdeyen tvdeyen deleted the breadcrumb-no-unpublished-pages branch February 5, 2021 21:41
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