Skip Navigation

[Resolved] Query filter does not work properly.

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.

This topic contains 2 replies, has 2 voices.

Last updated by matthiasV-2 7 months ago.

Assigned support staff: Waqar.

Author
Posts
#2194007

Refer this ticket to Waqar.

For this page: hidden link

We created 2 query filters:

Field - Type eigendom
The field Type eigendom is a string that is "in" the following:
URL parameter: wpv-wpcf-type-eigendom

&

Field - Eigendom type
The field Eigendom type is a string that is "in" the following:
URL parameter: wpv-wpcf-eigendom-type

If we select a few property types like "appartement", "pand", "woning", ... "geen eigendommen" are found, which is not normal.

The "in" the following... does not return any results, however when we change it to "not in" the following then the filter seems to work.

What is wrong here?

#2194565

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

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

The "Type eigendom" is a radio type field, which stores the numerical values.
( screenshot: hidden link )

For this reason, the query filter for this field should be:
The field Type eigendom is a "number" (not string) that is "in" the following:
URL parameter: wpv-wpcf-type-eigendom

The "Eigendom type" field is a single line type field, which means that the "string" comparison type will work for this field.

If you still see some unexpected results, please share the information about the exact search steps that you performed and the results that should not be showing.

regards,
Waqar

#2195567

My issue is resolved now. Thank you!