Commit 7f78c665 authored by quicksketch's avatar quicksketch

#679380 by dereine: Make filefield compatible with both, views 2 and views 3.

parent fa655634
......@@ -9,9 +9,10 @@
*/
class filefield_handler_field_data extends views_handler_field_node {
function options(&$options) {
parent::options($options);
$options['data_key'] = 'description';
function option_definition() {
$options = parent::option_definition();
$options['data_key'] = array('default' => 'description');
return $options;
}
function options_form(&$form, &$form_state) {
......
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