Skip Navigation

[Resolved] Show only filter options with results isn't working

This support ticket is created 4 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 7 replies, has 2 voices.

Last updated by jesseH-3 4 years, 9 months ago.

Assisted by: Waqar.

Author
Posts
#1401109

I am trying to: put a taxonomy search filter on an archive page. I have turned on "Show only filter options that would produce results" so the search filter should only show categories that would produce results (no empty categories should be shown). But, it is showing all categories, regardless of whether they are empty or not.

Link to a page where the issue can be seen: hidden link (Format is currently set to %%NAME%% and "Show only filter options that would produce results" is turned on.)

However, if I add %%COUNT%% to the search filter's Format, then it works as intended, showing only categories with results. Is this a bug? I would expect it to work the same regardless of what's included in the Format.

#1401337

Hi Jesse,

Thank you for contacting us and I'd be happy to assist.

The issue with this option ( "Show only filter options that would produce results" ) was recently discovered and is already reported to the concerned team.

This is currently being investigated and I'll keep you updated with the progress through this ticket.

regards,
Waqar

#1401683

Glad to hear it. I will add %%COUNT%% for a workaround until this is fixed. Thank you!

#1476865

Hi Jesse,

I have an update to share and a fix for this is planned to be covered in the next major release of Toolset Views and Blocks plugins.

I'll let you know once it releases.

regards,
Waqar

#1497945

Hi Jesse,

I'd like to update that a fix for this issue has been included in the releases of Toolset Views (3.1.0) and Blocks (1.1.0) plugins.

You're welcome to update and let us know, in case the issue still persists.

regards,
Waqar

#1519227

Regarding the issue – "Show only filter options with results" only works if %%COUNT%% is included – I have updated to the latest version of Types and Blocks, but this issue persists. I also continue to have the related issue as reported in my other support ticket "Custom search filter checkboxes don't show hierarchy" (https://toolset.com/forums/topic/custom-search-filter-checkboxes-dont-show-hierarchy/) – I will add a comment there as well.

#1528549

Hi Jesse,

Thank you for waiting, while I performed some further tests.

I tested the "Show only filter options with results" options on a couple of different test websites, but can no longer reproduce this with the latest releases.

If you're still experiencing this, can you please share temporary admin login details along with the link to the specific page with the view or WordPress archive?

Note: I've set your next reply as private.

regards,
Waqar

#1528941

It is working correctly now! Not sure why it wasn't working last time I tried. You can close this ticket. Thanks for your help.