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

Public means of including hidden entries in a view #547

Open
fluffy-critter opened this issue Sep 5, 2023 · 0 comments
Open

Public means of including hidden entries in a view #547

fluffy-critter opened this issue Sep 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@fluffy-critter
Copy link
Collaborator

Expected Behavior

view.entries(hidden=True) should include entries with HIDDEN status

Current Behavior

There is no such option. There is an internal flag, _all, which does more or less the same, but that also includes future and deleted entries, which isn't ideal.

Possible Solution

Add an appropriate thing to queries.build_query

Steps to Reproduce (for bugs)

Context

It is useful to have hidden attachments that are still visible to templates, without having to do is_attached=False everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant