Skip Navigation

[Resolved] Check box in the filter is not working as Expected

This support ticket is created 5 years, 7 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 5 replies, has 2 voices.

Last updated by nelsonh 5 years, 7 months ago.

Assisted by: Waqar.

Author
Posts
#1238550

I am trying to: In below page I am expecting 'OR' combination result when I click two check box but I am getting 'AND' combination result

Link to a page where the issue can be seen:hidden link

I expected to see: when I select two check box of Type for example Wall and Floor I need to get result with all tile with wall and Floor

Instead, I got:But I am getting both have checked wall and floor

#1238563

Hi Nelson,

It seems our chat got disconnected, so I've converted it into a support ticket.

In case the issue still persists, you're welcome to share admin access details in reply to this message.
( your next reply will be private )

regards,
Waqar

#1238631

Hi Nelson,

Thank you for sharing the update login credentials.

I logged in, checked the view and found a number of custom field filters in the "Query Filter" section, but couldn't figure out how or where the custom fields like Type, Style, and Size are coming from.

Can you please share some details on how and where these custom fields are defined?

I'll be in a better position to guide you accordingly.

regards,
Waqar

#1238891

the custom filed is coming for all import

#1238958

Hi Nelson,

Thank you for clearing this up.

To change the query from "all selected values" (AND) to "any selected value" (OR), the "equal to" operator needed to be replaced with "in" operator:

Screenshot - before:
hidden link

Screenshot - after:
hidden link

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1238984

My issue is resolved now. Thank you!