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

Collections in frontmatter aren't able to filter by visible/published etc. #866

Open
khanduras opened this issue May 31, 2016 · 0 comments

Comments

@khanduras
Copy link

cards:
    items:
        '@page.descendants.visible': /cards
    order:
        by: date
        dir: desc
    limit: 10
    pagination: true

What I find is that this ignores the .visible filter and non-visible pages count towards the limit count. I can filter using twig, however if you're expecting 10 pages you might get 9 if one of those pages were non-visible or non-published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants