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

entry.attachments should include hidden items by default #548

Open
fluffy-critter opened this issue Sep 5, 2023 · 1 comment
Open

entry.attachments should include hidden items by default #548

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

Comments

@fluffy-critter
Copy link
Collaborator

Expected Behavior

If an entry has attachments with status: HIDDEN they should appear in the attachment view by default.

Current Behavior

There is no official support for showing status:HIDDEN attachments from a template; see #547

Possible Solution

Set the view defaults to include hidden=True in entry.attachments (and probably entry.attached as well).

Steps to Reproduce (for bugs)

Context

If you're attaching a thing to an entry, that entry should be able to see it.

@fluffy-critter fluffy-critter added the enhancement New feature or request label Sep 5, 2023
@fluffy-critter
Copy link
Collaborator Author

Alternate idea: should view exclude attached items by default? Then there's no need to go through wonky hiding logic for them, and both this and #547 can go away. That might make more intuitive sense.

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