Skip to content

Instantly share code, notes, and snippets.

/command-line Secret

Created May 11, 2015 20:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/75be9acd43d870269346 to your computer and use it in GitHub Desktop.
$ git apply --stat ~/Downloads/taxonomy-display-views-url-1783968-26.patch
handlers/associated/views.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
$ find . -path "*handlers/associated/views.inc"
diff --git a/handlers/associated/views.inc b/handlers/associated/views.inc
index 08c23bf..4d30f65 100644
--- a/handlers/associated/views.inc
+++ b/handlers/associated/views.inc
@@ -46,7 +46,7 @@ class TaxonomyDisplayAssociatedDisplayHandlerViews extends TaxonomyDisplayAssoci
// Else if the user has access to the view.
elseif ($view->access($options['display'])) {
// Ensure links stay on taxonomy term page.
- $view->override_path = current_path();
+ $view->override_url = current_path();
// Generate the view's output.
$output = $view->preview($options['display'], array($term->tid));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment