Opened 12 years ago
Closed 12 years ago
#29145 closed task (blessed) (fixed)
MEDIA_TRASH audit for Media Grid
| Reported by: | wonderboymusic | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Media | Version: | 4.0 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: | javascript, administration |
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
@
12 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Delete/Trash Scenarios:
No. 1
No. 2
define( 'MEDIA_TRASH', true )towp-config.phpNo. 3
define( 'MEDIA_TRASH', true )towp-config.phpNo. 4
define( 'MEDIA_TRASH', true )towp-config.phpNo. 5
define( 'MEDIA_TRASH', true )towp-config.phpNo. 6
define( 'MEDIA_TRASH', true )towp-config.php