Opened 10 years ago
Closed 10 years ago
#29145 closed task (blessed) (fixed)
MEDIA_TRASH audit for Media Grid
Reported by: | wonderboymusic | Owned by: | |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Media | Keywords: | needs-patch |
Focuses: | javascript, administration | Cc: |
Description
I noticed a few places last night, there may be more:
- The "Trash" link in the Edit Attachment modal is left-aligned, "Delete" is right-aligned
- Once you trash an item, there should be a "Trash" filter in the "all" dropdown. The link in the modal will then be "Untrash." This would introduce more parity with the list table. Otherwise, you can never view your trash'd media in the grid.
Attachments (2)
Change History (8)
#2
@
10 years ago
just had a 3.5 hour chat with Koop - media.view.Attachment.trashAttachment()
works in the sense that, yes, it properly trashes the item on the backend, but this is only reflected in mirrored attachment collections when media.model.Attachments.validateDestroyed
is set to true
. That's fine. It can be toggled via settings.mediaTrash
.
The remaining issue is when a Trashed item is Untrashed. The mirrored collections are not updating properly. This will require some more digging when I arise.
Zzzzzzzzzzz.
Note: See
TracTickets for help on using
tickets.
Delete/Trash Scenarios:
No. 1
No. 2
define( 'MEDIA_TRASH', true )
towp-config.php
No. 3
define( 'MEDIA_TRASH', true )
towp-config.php
No. 4
define( 'MEDIA_TRASH', true )
towp-config.php
No. 5
define( 'MEDIA_TRASH', true )
towp-config.php
No. 6
define( 'MEDIA_TRASH', true )
towp-config.php