for correct working View Contextual filters (Has taxonomy term ID (with depth) !with depth!) in line
201 (tvi.module)
I replace:

return $view->execute_display($display, array($tid, $depth));


return $view->execute_display($display, array($tid, $view->display_handler->display->display_options["arguments"]["term_node_tid_depth"]["depth"]));



Allan Walker’s picture

Beautiful work!

Enabling TVI caused my parent taxonomy pages (overridden in views) to display no results, while the child terms worked fine.

The code above fixed the problem, thanks for posting it Arsen.

kevinquillen’s picture

Status: Active » Needs review

Just ran into this issue myself.

kevinquillen’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.