Passer la navigation

[Résolu] Filter by checkboxes

This support ticket is created Il y a 4 years, 7 months. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par henriqueD Il y a 4 years, 7 months.

Assisté par: Minesh.

Auteur
Publications
#1912593

Hello, how are you?

I am using views to display content on my website.

However, I need to filter by values that are in a checkbox type field (multiple values).

I managed to display the values of the checks on the screen, but I don't know how to filter.

What do I put in the filters part?

This is the link to the reference (look at the location that is marked as "Características Extras"
lien caché

I looked in the forum, but I didn't find where to do that.

Can you help me please?

PS: sorry for my english, it's google translator.

#1912809

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share access details first so I can review how exactly you configured your custom search with checkboxes field?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1913371

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

I see with your checkboxes custom field, you set the option "Quando desmarcado, salvar 0 no banco de dados" and we have known issue with that.

The workaround is, i've changed the option to "Quando desmarcado, não salvar nada no banco de dados". See screenshot:
=> lien caché

Then edit your all 5 posts for post type " Imóveis" and click on update button, and I can see now its filtering the results.

Can you please confirm it works as expected: lien caché

#1913799

My issue is resolved now. Thank you!