NO BUG: Filters options incorrect count

URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue

The counts are often wrong, don’t match the displayed results, change when you click a filter (with none other selected); and the filters don’t always display the correct results.

  • The actual number of providers offering GYA College Credit is 14. The count is correct when unchecked, but when checked only 6 are displayed.
  • The actual number of providers offering Other College Credit is 26. The count is correct when unchecked, but when checked only 8 are displayed.
  • It’s unclear what the changing counts represent. For example, check Level 5 under Level of Independence. The count for Level 4 changes to 4, which doesn’t make any sense because these are additive (OR).
  • I seem to have to regenerate the filter index manually with some frequency. Need to avoid having to do this.

At this time, the College Credit options are the only field with this problem. This is an ACF field of checkboxes (as are Start Time and Duration, which currently work correctly).

There is no caching on this site. I have regenerated the filter index multiple times trying different things.

Hiding the counts will solve much of the confusion over the numbers, but it remains that the displayed results are not always correct, and when the count is erroneously 0, that disables the checkbox when it should be active.

Curious. Are all of the post created by same user and is there any difference when you are logged in as Admin or logged out?

Hi @glp ,

Did you try deactivating plugins, as there might be certain plugins or custom code amending the query, causing the count to be incorrect?

Kindly send admin credentials to help@bricksbuilder.io and include this forum thread URL as a reference so we can investigate.

Regards,

Jenn

Yes, that is with only ACF active. I will contact by email thanks.

The ACF data was corrupt! Re-saving each post got the correct posts to show when filtered. It is odd that the counts did not match, but everything is fine now with the fields that weren’t working.

Maybe retitle this post “Check for corrupted data” and move it to How-to :joy:

1 Like