summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritangalo2012-12-31 11:58:55 (GMT)
committer Daniel Wehner2012-12-31 11:58:55 (GMT)
commitcdbdbaaab2a2778c434ae617c098e81967c8c62e (patch)
tree4974ae2e12b8ac4cd3d10866add96ad0dedafad5
parentf9dd4cc70016af5192bca54be902a9cc17a8fdfa (diff)
Issue #1874838 by Itangalo, dawehner: Added Allow exposed blocks to use 'Link display' settings.
-rw-r--r--plugins/views_plugin_display.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/views_plugin_display.inc b/plugins/views_plugin_display.inc
index 6be3dcc..da27888 100644
--- a/plugins/views_plugin_display.inc
+++ b/plugins/views_plugin_display.inc
@@ -783,6 +783,10 @@ class views_plugin_display extends views_plugin {
if ($display_id && !empty($this->view->display[$display_id]) && is_object($this->view->display[$display_id]->handler)) {
return $this->view->display[$display_id]->handler->get_path();
}
+
+ if ($this->get_option('link_display') == 'custom_url' && $this->get_option('link_url')) {
+ return $this->get_option('link_url');
+ }
}
function get_url() {