Skip Navigation

[Resolved] Search OR condition

This support ticket is created 7 years, 6 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/Hong_Kong (GMT+08:00)

This topic contains 52 replies, has 4 voices.

Last updated by Akhil 7 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#515524

Shane are you here or you too went missing ??

#515526

Shane
Supporter

Languages: English (English )

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

Hello,

I must apologize for the delay in response.

I did in fact took a look at this for you but it seems that view is forcing you to use an AND condition.

The ideal way to debug this is to check with each field starting with 1 then 2 fields then gradually moving up the amount of fields in the search to see where it stops.

Am I able to perform such a test on this site ?

Please let me know.

Thanks,
Shane

#515527

Yes , Please go ahead.

#515531

Shane, Please make all the reply from this Private

#515534

Shane
Supporter

Languages: English (English )

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

Hello,

It wouldn't be possible to make all the replies private as private responses are ONLY for when providing credentials, Database dumps and Plugins or themes.

Thanks,
Shane

#515536

How about URL field ?

#515543

Shane
Supporter

Languages: English (English )

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

Hello,

I'm not sure how you got this field arrangement done. Are there any custom code involved ?

Also how was the arrangement mad on the backend edit page with the fields ?

Do you also have a backup of this test site in the event that i'm not able to restore the original functionality ?

Thanks,
Shane

#515546

HI. yes i have a backup. go ahead and modify it .

Custom codes are in the child -theme functions.php file.
No major custom code.

#515550

Shane
Supporter

Languages: English (English )

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

Hello,

Just to be clear you want to use only an OR condition for all the fields correct?

Thanks,
Shane

#515551

Shane
Supporter

Languages: English (English )

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

Also could you restore the backup for this website so we can have all the filters being there again.

I believe I have an idea of what is wrong and it could be because of the different field groups being used.

What I will be doing is to test this locally and get back to you.

Thanks,
Shane

#515552

Hi.

I don't know how to answer this but i think yes all OR .

#515553

Shane
Supporter

Languages: English (English )

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

Also I would be contacting the relevant personnel to get some more information on this "Your custom field filters are using an internal "OR" kind of relationship, and dependant parametric search for those filters needs "AND" relationships." means

#515554

i understand this is the issue since day one i asked for this .

it seems to me now creating a standard search form is not direct as i thought.

#515555

Shane
Supporter

Languages: English (English )

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

Hello,

Once I get a response i'll let you know ASAP.

Thanks,
Shane

#515567

Even the basic filter like the Price Min , Max not working as it suppose to.