Hi all,
I have a hierarchical taxonomy called Geo including Regions as parents and their Provinces as children. I have associated Geo to two CPs called Pubs and Studios. In the view filters looping on studios I have used the hide_empty="true" option in order to list only regions or provinces for which at least one post (studio) exists. What happens is that some provinces are listed even though no studios exist in those provinces, with the view obviously returning the "not found" message when that item is selected in the filter. I guess this happens because there are some pubs associated to that province and they are considered "existing items" even though the view is about studios and has nothing to do with pubs. Can this be considered a bug ? the hide_empty="true" option should work on the CP selected in the view only, not considering the others otherwise results are affected.
Or am I using the wrong option ?
Thanks
Regards
Nicola
Hi Nicola,
Thank you for contacting us and I'd be happy to assist.
Your observation is correct and this issue is already reported to the concerned team:
https://toolset.com/errata/setting-show-only-filter-options-that-would-produce-results-doesnt-work-correctly-for-taxonomy-filters/
Unfortunately, there is no temporary workaround/fix available for this, but, I've added your voice to this matter internally and will keep you updated through this ticket.
regards,
Waqar