Skip to content

Why does slugify show an unpublished content? #7

Answered by ComfortablyCoding
superpep asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @superpep ,

Thank you for the interest in this plugin!

At the moment it is intended as the only filter applied by the plugin is for the slug, any others are from the request being received. I believe the default behaviour should be not to show unpublished entities as that is inline with Strapis default. This was more of an oversight, I will include this in the next release.

In the meantime adding the publication state filter will mimic this behaviour.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@superpep
Comment options

@ComfortablyCoding
Comment options

@superpep
Comment options

Answer selected by superpep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants