Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On a multi domain installation, files added directly in the admin panel through /file/add/ are not visible in the Files-view.
It looks like this is caused by the filter "File Usage: Entity type (!= submission)".
Files added with the media browser are displayed correctly.
Comment | File | Size | Author |
---|---|---|---|
#2 | dvg-files-2830433-2.patch | 2.98 KB | askibinski |
Comments
Comment #2
askibinski CreditAttribution: askibinski at ezCompany commentedThe issue is not specific for domains but occurs for any files which are not used in a node. These files are simply not shown because of the != submission filter.
In the patch attached, I added an AND group and within an OR filter which checks if the file usage entity is empty. If this is the case OR file usage entity is empty, show the files.
Comment #3
ruudvanoijen CreditAttribution: ruudvanoijen at ezCompany commentedChecked this with Albert. This is fixed for this view. But apparently this is also not working in another view. This needs to be fixed in 1.1.
Comment #5
ralphvdhoudt CreditAttribution: ralphvdhoudt at ezCompany commented