Hi,

I had an issue where the last loaded node was being used to set the breadcrumb. So for example I have a view of news in a sidebar and the term from the news was being used even though I'm looking at a different non news node. The issue is because the $view_mode is being checked incorrectly.

Line 55 of taxonomy_breadcrumb.module:
if ($view_mode = 'full' && !drupal_is_front_page()) {
should be
if ($view_mode == 'full' && !drupal_is_front_page()) {

Thanks
Reece

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

firebird’s picture

Status: Active » Needs review
FileSize
558 bytes

Here's the change rolled into a patch.

jantoine’s picture

Status: Needs review » Reviewed & tested by the community

Patch is good!

lmeurs’s picture

Great, works for me! Hopefully the maintainer can find some time to update this great module...

Taxoman’s picture

Why isnt this simple fix part of the latest -dev release? (bumping...)

jantoine’s picture

Status: Reviewed & tested by the community » Fixed

Patch in #1 committed.

Status: Fixed » Closed (fixed)

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