Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Dirk

Custom Taxonomy Filter Issue

I recently noticed that when I try to filter by a category custom taxonomy, only the published values are loads in the drop down. I don’t remember this restriction before. Was that a recent change?

I would suggest that the values loaded match the post status currently selected.

8 years, 2 months ago
Stefan van den Dungen Gronovius
Developer

Hi Dirk,

I don’t think this is a recent change. Besides that we also cache the results of the dropdown and since we do this we don’t look at the current status in the overview. I’ve create a ticket for your suggestion on Github as a feature request.
https://github.com/codepress/admin-columns-issues/issues/576

Thanks for your feedback!

8 years, 2 months ago
Dirk

Thanks, that would be really helpful. When does the cache get refreshed?

8 years, 2 months ago
Stefan van den Dungen Gronovius
Developer

The cache is refreshed every minute. We’ve build in the cache because the queries to get the used data can be quite heavy.
You can also disable the cache by using this filter (not recommended for big sites)

add_filter( 'cac/is_cache_enabled', '__return_false' );

But since we don’t take the post status into account, this should not fix your problem.

8 years, 2 months ago
Daniel Stadeli

Hi, I have the same problem, categories of custom post types cannot be filtered if they posts are not published. But the whole point of this is filtering before the items are published so they can be worked on properly. Any prograss?
I do think this is my problem, see video: https://video.seriousweb.ch/v/Zir8go

3 years, 5 months ago

You must be logged in to reply to this topic.