summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorceastwood2012-12-25 19:49:13 (GMT)
committer fago2012-12-25 19:49:13 (GMT)
commitd73f3dcfd2567fa7a9293f3173941d03fe542c96 (patch)
tree9f83f831d4710c7b01fdcd810ba33a7bf3baee86
parent4c89c89deb930427cc764848b2e66080dacc4697 (diff)
Issue #1546776 by drclaw: Fixed Field Rendered Entity: Link to entity option not visible.
-rw-r--r--views/handlers/entity_views_handler_field_entity.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/handlers/entity_views_handler_field_entity.inc b/views/handlers/entity_views_handler_field_entity.inc
index 0a646f7..f76fb17 100644
--- a/views/handlers/entity_views_handler_field_entity.inc
+++ b/views/handlers/entity_views_handler_field_entity.inc
@@ -158,7 +158,7 @@ class entity_views_handler_field_entity extends views_handler_field {
return '';
}
$render = $this->render_single_value($entity, $values);
- if (!$this->options['link_to_entity']) {
+ if (!$this->options['link_to_entity'] || $this->options['display'] == 'view') {
return $render;
}
if (is_object($entity) && ($url = entity_uri($type, $entity))) {