Closed (fixed)
Project:
Video
Version:
7.x-2.7
Component:
Video Views
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2012 at 20:35 UTC
Updated:
27 Oct 2012 at 22:31 UTC
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