Commit df922ea2 authored by yched's avatar yched

#108226 - ungroup field handler : no need to rebuild the field queryname - patch by

 neclimdul
parent 8dcd01a5
...@@ -161,8 +161,7 @@ function content_views_field_handler_ungroup($field_info, $field_data, $value, $ ...@@ -161,8 +161,7 @@ function content_views_field_handler_ungroup($field_info, $field_data, $value, $
$field = $field_info['content_field']; $field = $field_info['content_field'];
$item = array(); $item = array();
foreach ($field_info['content_db_info']['columns'] as $column => $attributes) { foreach ($field_info['content_db_info']['columns'] as $column => $attributes) {
$view_column_name = $field_data['tablename'] .'_'. $attributes['column']; $item[$column] = $data->$field_data['queryname'];
$item[$column] = $data->$view_column_name;
} }
return content_format($field, $item, $field_data['options'], $data); 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