This support ticket is created 6 years, 8 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
For one of our user types, we have created a user field that is a set of checkboxes (State Affiliations). Users are able to select multiple checkboxes.
I’ve created several views that displays users based on the states that they chose in the above field. I’m trying to filter this view based on the checkboxes field. For example, if a user has selected AL, AK, and OH in the checkboxes section, the user should be displayed on each of these pages. I have a separate view set up for each state, and then I placed each of these views on a separate page.
Attached, you will see a screenshot of the query filter I am trying to use. The constant changes for each state I am trying to display.
When I remove the query filter, all users show, so I know something in the query filter is not working correctly.
Could you tell me if I have this configured properly?
No, users will not have the ability to filter on the front-end. This is just a standard user view placed on standard page. It appears that the query filter is not working correctly. The query filter that I have added in the backend should only return users that match the query filter.
There seems to be something interfering with the code as i've checked the views debug information and the query information is being passed but the view isn't updating accordingly.
Would you mind temporarily disable all your non-toolset plugin and try again.
Unfortunately, this site is live so we are unable to disable non-Toolset plugins. I will say that this was working a couple of weeks ago, and it just stopped working this week. We haven't added any new plugins and we haven't updated any existing plugins.
We do not have any caching on the site.
Also, we noticed when viewing the page listed in my private reply on Google Chrome that some sort of pop-up is blocked. Any idea why there is a pop-up showing? Could this be related to the issue with the query filter?
Sure, I just created a new view and it did not work. When I added the query filter, it still showed all of the users instead of the users that matched the query filter.
It could be that there is something wrong with this user. Would you mind deleting and re-creating this user? I've also escalated this ticket so that our team can debug and have a look as well.
Since its only appearing with this view and we've already tried recreating the view, maybe something is wrong with the user.