Commit 00026f09 authored by yched's avatar yched

#128994 - fix for 'ungroup multiple values' views handler populating every 'column'

 of the values with the first column (revert http://drupal.org/cvs?commit=58000)
parent 36d4fb5a
......@@ -164,7 +164,8 @@ function content_views_field_handler_ungroup($field_info, $field_data, $value, $
$field = $field_info['content_field'];
$item = array();
foreach ($field_info['content_db_info']['columns'] as $column => $attributes) {
$item[$column] = $data->$field_data['queryname'];
$view_column_name = $field_data['tablename'] .'_'. $attributes['column'];
$item[$column] = $data->$view_column_name;
}
return content_format($field, $item, $field_data['options'], $data);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment