summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--modules/node/views_handler_field_node.inc1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index cf40526..3fcd6f9 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -48,6 +48,7 @@ Views 2.x
o #399534 by clemens.tolboom and drewish: Add fragment and query string as options when making fields into links.
o #315915 by dixon_: Add another base row class to rows.
o #353403 by agentrickard: Field to provide "more" text.
+ o #377896 by dereine: When ticked "link to node" show node title as a href title attribute.
Views 2.5
Bugs fixed:
diff --git a/modules/node/views_handler_field_node.inc b/modules/node/views_handler_field_node.inc
index 38551d1..655215e 100644
--- a/modules/node/views_handler_field_node.inc
+++ b/modules/node/views_handler_field_node.inc
@@ -45,6 +45,7 @@ class views_handler_field_node extends views_handler_field {
if (!empty($this->options['link_to_node']) && $data !== NULL && $data !== '') {
$this->options['alter']['make_link'] = TRUE;
$this->options['alter']['path'] = "node/" . $values->{$this->aliases['nid']};
+ $this->options['alter']['alt'] = check_plain($data);
}
return $data;
}