Repeatable: Always

Steps to repeat:
* Use a taxonomy to filter related content in a view
* Unpublish a term from the taxonomy
* The term is still present in the exposed form

Expected Results:
* The term is _not_ present in the exposed form

More info:

I am using one of my taxonomies as a filter (for related content) in a view, using an exposed form. The taxonomy has been set to use taxonomy tools.

I have unpublished a term in my taxonomy using the taxonomy publisher from taxonomy tools as usual; and it indeed appears unpublished when visiting the term's page. Cool.

But when I look at the dropdown filter for the taxonomy term in my view, the unpublished term is still present (as anonymous or admin user). I had expected that the term would vanish from the dropdown in the exposed form when it was unpublished.

Any fix (or pointers on where to look to fix it myself) appreciated!

Comments

balintcsaba’s picture

Hi ciderpunx,
you can check out my sandbox project here: http://drupal.org/sandbox/balintcsaba/1857296
it is exactly the solution you are looking for
and it works not just for views, but for node add/edit forms or even custom forms
it is built on top of the taxonomy_tools module

but unfortunately I can't publish it separately... (details here: http://drupal.org/node/1862664)

it should be bundled with this module but the maintainers are not responding
so I started the process to overtake maintainership of the taxonomy_tools project
it soon will be integrated in one way or the other...

balintcsaba’s picture

You will find now integrated in Taxonomy Tools v1.1 the Taxonomy Publisher Filter module.
Download it and please give me a feed back if you have time for it:)

balintcsaba’s picture

Version: 7.x-1.0 » 7.x-1.1
Status: Active » Closed (fixed)
ciderpunx’s picture

Hi balintcsaba,

Awesome. I'll give that a whirl later on today. Good luck with taking on the taxonomy tools module!