Skip Navigation

[Resuelto] Combining different custom field filters into one custom field filter (continue)

This support ticket is created hace 4 años, 8 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Este tema contiene 5 respuestas, tiene 3 mensajes.

Última actualización por Christian Cox hace 4 años, 8 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#1540817
Screenshot from 2020-03-05 14-35-30.png

Tell us what you are trying to do?
Combining different custom field filters (filters for blog date, report date and webinar date) into one custom field filter (date)

This was resolved before by setting the relationship to "OR" instead of "AND", and the search was working. However, today I check again and the search is not working and there is the message inside the blue box, which I haven't seen before (see screenshot)

Is there any documentation that you are following?
Yes, this is a continuation of the question
https://toolset.com/forums/topic/combining-different-custom-field-filters-into-one-custom-field-filter/

Is there a similar example that we can see? No

What is the link to your site?
enlace oculto
enlace oculto

#1541027
Screen Shot 2020-03-05 at 11.20.49 AM.png

Hello, the "OR" fields relationship condition isn't fully supported with the "only show available options for each input" feature in Search and Pagination advanced settings. You can click the button in blue to change "OR" to "AND", then if you want to use "OR" you should select the custom search option "Always show all values for inputs" that is now hidden behind the blue message. Then you should be able to select "OR" again without seeing the blue message. Let me know if you have questions about that.

#1543657
ANDOR3.JPG
ANDOR2.JPG
ANDOR1.JPG

Hi, I have followed your instructions:
1. I selected the custom search option "Always show all values for inputs" that was hidden behind the blue message, after I clicked the "fix relationship" (screenshot 1)
2. I selected the "OR" field relationship (screenshot 2)
3. But the blue box is sitll appearing again (screenshot 3)
Note: The order of the screenshots are ANDOR1 -> ANDOR2 -> ANDOR3
Please let me know if I have made any mistakes when following your instructions

#1544205

I have tried other filtering options (eg. constants, TODAY etc) other than "URL parameters", and the "OR" can be selected without the blue box error popping up.
So in my opinion, the problem is with the "URL parameter" option.

#1545995

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Delia,

Christian is currently unavailable today but will be back tomorrow to continue assisting with this ticket.

Thanks,
Shane

#1547549

Okay I see what you're saying, it looks like the blue box warning is appearing unnecessarily in my local tests as well. However, the filter does seem to be returning the correct results on the front-end despite the warning. Is that what you see on your end after selecting "Always show all values for inputs"? Sorry for the delay, I'll be glad to set up a demo site so we can collaborate on this if you would prefer a more hands-on approach.