Open fluffy-critter opened 1 year ago
If an entry has attachments with status: HIDDEN they should appear in the attachment view by default.
status: HIDDEN
There is no official support for showing status:HIDDEN attachments from a template; see #547
status:HIDDEN
Set the view defaults to include hidden=True in entry.attachments (and probably entry.attached as well).
hidden=True
entry.attachments
entry.attached
1. 2. 3. 4.
If you're attaching a thing to an entry, that entry should be able to see it.
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.
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 #547Possible Solution
Set the view defaults to include
hidden=True
inentry.attachments
(and probablyentry.attached
as well).Steps to Reproduce (for bugs)
1. 2. 3. 4.
Context
If you're attaching a thing to an entry, that entry should be able to see it.