Hello

I have the following situation:
I have a taxonomy called "NewsletterType". The values are:
- normal
- special
The taxonomy is required.
I create a view and add in filters "Taxonomy: Terms for NewsletterType". All is OK, in value list right to it I see the values "normal" and "special"

When I change the taxnomy to *not* required and add in Filters "Taxonomy: Terms for Newsletter Type", then I see this:
- None selected-
- "normal"

--> "special" is not listed.

Have I done something wrong or is this a bug?

regards
Andre

Comments

robertem’s picture

Same here, the lightest weighted term is not shown in the filter if the vocabulary is not required, is visible ir required is toggled on.

rbleu’s picture

Same here too...
And this bug is indicated as fixed, in the changelog for 5.x-1.6: "#142347: (yhager) Fix Views losing the first taxonomy term on optional vocabularies."...
There are some infos here: http://drupal.org/node/142347

smoothstr@drupal.org’s picture

Can confirm.

The reason it's happening is that the patch has been deliberately unapplied or lost or changed back to the original.

If you come up against this problem, follow the link. Check the last patch in the discussion. Remove or comment out the lines indicated by minuses in the patch. It's only 3 lines, so it's easier to do by hand than it is to do a formal patch application.

Also you'll probably need to clear the views cache or the full taxonomy list still won't appear.

beauregard’s picture

thanks, I will check it out.

catch’s picture

Status: Active » Closed (duplicate)