Skip Navigation

[Resolved] Filters don’t do anything

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user added the filters but the query filters were missing, so the filters were not working on the frontend.

Solution:

TO resolve this all that is needed is to remove and re-add the filters and it should resolve the issue.

This support ticket is created 6 years, 5 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by charlesR-4 6 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#1113053

I have a post list and filter created using Views here: hidden link

However, when I choose any of the filter options or attempt a search, it always returns the full list rather than a filtered list. Any ideas why this would be happening?

#1113174

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Charles,

Thank you for contacting our support forum.

Could you remove the filters and re-add them.

Thanks,
Shane

#1113181

That worked. Why was that necessary? The code was exactly the same as what was already there.

#1113182

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Charles,

I suspect that the issue was that the frontend filters were there but the query filters weren't. The query filters are what controls the backend logic for fetching the posts.

They are usually added when the filters are added to the view.

Thanks,
Shane

#1113183

Just for future reference, is there any way in the standard interface to know or see the query filters to tell if they aren't connected to the frontend filters?

#1113191

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screen Shot 2018-09-21 at 2.11.28 PM.png

Hi Charles,

When you scroll to the top of the view edit page.

You can enable the screen options and under there you would see the settings to show the query filter.

Thanks,
Shane

#1113196

I understand now. Thank you so much for your help.