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.
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 CreditAttribution: Jorrit commentedI have added the code, thanks for contributing.
Comment #2
Jorrit CreditAttribution: Jorrit commentedI should have set this one to fixed.
Comment #3.0
(not verified) CreditAttribution: commentedAdding comment to code example