Commit 49036905 authored by Nathan Haug's avatar Nathan Haug
Browse files

#304267 by Moonshine. Final fixes that make link.module compatible with Views...

#304267 by Moonshine. Final fixes that make link.module compatible with Views 2 again. Thanks so much Moonshine!
parent 8eea62f4
......@@ -45,7 +45,7 @@ function link_views_content_field_data($field) {
'argument' => array(
'field' => $db_info['columns']['title']['column'],
'tablename' => $db_info['table'],
'handler' => 'views_handler_argument_string_content',
'handler' => 'content_handler_argument_string',
'click sortable' => TRUE,
'name field' => '', // TODO, mimic content.views.inc :)
'content_field_name' => $field['field_name'],
......@@ -55,7 +55,7 @@ function link_views_content_field_data($field) {
'field' => $db_info['columns']['title']['column'],
'title' => t('@label title', array('@label' => t($field_types[$field['type']]['label']))),
'tablename' => $db_info['table'],
'handler' => 'views_handler_filter_string_content',
'handler' => 'content_handler_filter_string',
'additional fields' => array(),
'content_field_name' => $field['field_name'],
'allow_empty' => TRUE,
......@@ -63,7 +63,7 @@ function link_views_content_field_data($field) {
'sort' => array(
'field' => $db_info['columns']['title']['column'],
'tablename' => $db_info['table'],
'handler' => 'views_handler_sort_content',
'handler' => 'content_handler_sort',
'content_field_name' => $field['field_name'],
'allow_empty' => TRUE,
),
......
Supports Markdown
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