This change on line 24 in video.views.inc allows the video_queue fields/sorts/filters to be used in a file based view
From:
$data['video_queue']['table']['join'] = array(
// ...to the node table
'node' => array(
'left_field' => 'nid',
'field' => 'entity_id',
),
);
To:
$data['video_queue']['table']['join'] = array(
// ...to the node table
'node' => array(
'left_field' => 'nid',
'field' => 'entity_id',
),
// ...to the file_managed table
'file_managed' => array(
'left_field' => 'fid',
'field' => 'fid',
),
);
Comments
Comment #1
Jorrit commentedI have added the code, thanks for contributing.
Comment #2
Jorrit commentedI should have set this one to fixed.
Comment #3.0
(not verified) commentedAdding comment to code example