Hi!
I am trying to create a custom search in which inputs only show available options.
I have filters by taxonomies and a filter by relationship.
When selecting options in relationship filter, results are refreshing but inputs taxonomy are not refreshing.
I send in this ticket a complete screencapture with the custom search view settings.
And code from filters:
Hi,
No, still not working.
I'll try to explain the problem better:
What I need is taxonomies filters to show only available options when choosing an option from relationship filter.
When I choose country "Spain", the results are filtered and it's only shown the post with the ID "4721". Thats OK. But the taxonomy filter "Material" should show only "Wooden", that is de term associated with post "4721".
I tried choosing also the city (Madrid), that is the related post and not the parent (country). But filters still not updating the data. You can see it in the images attached to this reply.
Thank you for your answer!
Hope we can figure out whats going on!
Jaume
Sorry, one more thing:
When I use the filters by taxonomy, the others filters, taxonomies and relationship, show only available options. So it works fine in that case. If I choose "Bronze" in material filter, the others filters update the options.
And I need that the same happens when choosing a country: the other filters should update options to only available.
Hi Shane,
I've created a test site. Fresh install, no plugins, no wpml... but the problem remains the same.
Taxonomy filters work OK. If you select a term, the result list of posts and the available options inside filters are update (both types: taxonomy and relationship filters).
The relationship filter doesn't work ok. The resulting list of posts is update but taxonomy filters options remain the same, with options that should be not available.
I can give you user and password of the test site.
This feature is very important for the project I'm developing.