Hi,

I have two views that I've fused together. By themselves, they produce entries fine, however when I look at the fused view, it has duplicate entries.

To complicate things, when I added the fused view to a panel (using Panels2 module), the duplicate entries disappear, but the arguments are ignored even though I've set the argument handling the same as for other similar views.

Here's my fused view's export code:

  $view = new stdClass();
  $view->name = 'resourcedetails';
  $view->description = '';
  $view->access = array (
);
  $view->view_args_php = '';
  $view->page = TRUE;
  $view->page_title = '';
  $view->page_header = '';
  $view->page_header_format = '3';
  $view->page_footer = '';
  $view->page_footer_format = '3';
  $view->page_empty = '';
  $view->page_empty_format = '3';
  $view->page_type = 'table';
  $view->url = 'details/$arg';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '100';
  $view->sort = array (
    array (
      'tablename' => 'node_data_field_priority',
      'field' => 'field_priority_value',
      'sortorder' => 'ASC',
      'options' => '',
    ),
  );
  $view->argument = array (
    array (
      'type' => 'taxletter',
      'argdefault' => '2',
      'title' => '%1',
      'options' => '',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
  );
  $view->field = array (
    array (
      'tablename' => 'node',
      'field' => 'title',
      'label' => '',
      'handler' => 'views_handler_field_nodelink',
      'options' => 'link',
    ),
    array (
      'tablename' => 'node',
      'field' => 'body',
      'label' => '',
      'handler' => 'views_handler_field_body',
    ),
  );
  $view->filter = array (
    array (
      'tablename' => 'node',
      'field' => 'type',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'resourcedetails',
),
    ),
  );
  $view->exposed_filter = array (
  );
  $view->requires = array(node_data_field_priority, node);
  $views[$view->name] = $view;

Comments

rgraves’s picture

Forget the panels part of this issue. I've solved that. The problem remains that the fused view is displaying duplicate entries instead of just one.

rgraves’s picture

Status: Active » Closed (fixed)

Problem solved. I removed extra argument code from the child view. Each entry was being tagged twice (once from each view).