Commit 8ca9d2af authored by alexpott's avatar alexpott

Issue #2316989 by Arla: Fixed Join file_usage to file_managed for Views.

parent 0fe89b37
......@@ -204,6 +204,10 @@ function file_views_data() {
// entities, and then on each core entity type base table so that we can
// provide general relationships between entities and files.
$data['file_usage']['table']['join'] = array(
'file_managed' => array(
'field' => 'fid',
'left_field' => 'fid',
),
// Link ourself to the {node} table
// so we can provide node->file relationships.
'node' => array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment