Closed (fixed)
Project:
Media Directories
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2020 at 10:57 UTC
Updated:
23 Apr 2020 at 21:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ytsurkThank you for reporting this bug. I can reproduce, it's only happening when the show all files in root directory option is checked.
The problem was that the views arguments got in the same group, so I force a new group for the name search always.
Comment #3
ytsurkThis needs to be done in the directory argument, see also #3120865: Media Library view ignore Media Type Context Filter if Media Directories is used
Comment #4
anybodyWhat that went fast, thank you ytsurk! :)
After fixing this manually (removing doube comma), it works perfectly.
This is the wrong patch result:
So after fixing this, this can be committed to dev, I guess.
BTW, I think you referenced the wrong issue (self) in #3?
Comment #5
ytsurkYeah .. sorry for the faulty patch .. we need to handle the grouping in the directories argument to be totally save here ..
I will provide a new patch soon
Comment #6
ytsurkComment #7
ytsurkSo here we go with a group change where it is really needed. This makes the core media(_library) views arguments (name, type) and media_directories filter work again.
Comment #8
anybodyWorks perfectly! Thanks a lot! Ready to be committed!
Comment #10
ytsurk