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

Jorrit’s picture

Status: Active » Postponed

I have added the code, thanks for contributing.

Jorrit’s picture

Status: Postponed » Fixed

I should have set this one to fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Adding comment to code example