Closed (fixed)
Project:
Media Directories
Version:
8.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2020 at 22:46 UTC
Updated:
9 Apr 2020 at 19:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ytsurkHere a patch addressing the issue.
Comment #3
ytsurkComment #4
rang501 commentedI'm not sure what it should fix. The patch is applied but I don't see any differences, also no errors so I guess nothing breaks at least :)
Comment #5
ytsurkThanks for the review! It's about selection in the entity browser.
If you have selected some items and press the Add button these will be cleared. This patch solves this issue on the media overview (/admin/content/browser) where we are in the keep selection mode. Also all newly added medias shall be selected when the AddForm is closed.
When we're adding medias in the field widget or via CKEditor button, where not in keep selection mode. And the selection shall be cleared, if new medias are added and the folder with the most new medias shall be selected, and only the medias in this folder - as the entity browser does not allow to have non-visible entities selected.
Comment #6
rang501 commentedYeah, the selection works as described after applying this patch.
The latest commit caused a conflict, so I made a new patch.
Comment #7
ytsurk