I noticed that aggregator_views_data() contains two definitions for $data['aggregator_item']['iid']:

  $data['aggregator_item']['iid'] = array(
    'title' => t('Feed Item ID'),
    'help' => t('The unique ID of the aggregator item.'),
    'field' => array(
      'handler' => 'views_handler_field_numeric',
      'click sortable' => TRUE,
    ),
    'argument' => array(
      'handler' => 'views_handler_argument_numeric',
      'numeric' => TRUE,
    ),
    'filter' => array(
      'handler' => 'views_handler_filter_numeric',
    ),
    'sort' => array(
      'handler' => 'views_handler_sort',
    ),
  );

  // Item ID / 'iid'.
  $data['aggregator_item']['iid'] = array(
    'title' => t('Item ID'),
    'help' => t('The unique ID of the aggregator item.'),
    // The help that appears on the UI,
    // Information for displaying the iid.
    'field' => array(
      'handler' => 'views_handler_field_numeric',
      'click sortable' => TRUE,
    ),
    // Information for accepting a iid as an argument.
    'argument' => array(
      'handler' => 'views_handler_argument_aggregator_iid',
      'name field' => 'title',
      // The field to display in the summary.
      'numeric' => TRUE,
    ),
    // Information for accepting a nid as a filter.
    'filter' => array(
      'handler' => 'views_handler_filter_numeric',
    ),
    // Information for sorting on a nid.
    'sort' => array(
      'handler' => 'views_handler_sort',
    ),
  );
Members fund testing for the Drupal project. Drupal Association Learn more

Comments

DamienMcKenna created an issue. See original summary.

DamienMcKenna’s picture

This difference is in the 'argument' - the first one uses "views_handler_argument_numeric" while the second one uses "views_handler_argument_aggregator_iid". I think the second one would be correct.

DamienMcKenna’s picture

Priority: Normal » Minor
Parent issue: » #2903944: Plan for Views 7.x-3.19 release
DamienMcKenna’s picture

Status: Active » Needs review
FileSize
970 bytes

This removes the first item.

  • DamienMcKenna committed a4cf6d7 on 7.x-3.x
    Issue #2921934 by DamienMcKenna: aggregator_views_data() contains two...
DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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