Sauter la navigation

[Fermé] Muliple identic view filter ID problem

This support ticket is created Il y a 3 années et 6 mois. 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)

Marqué : ,

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

Dernière mise à jour par Waqar Il y a 3 années et 6 mois.

Assisté par: Waqar.

Auteur
Publications
#2096529
graphic.jpg

Hello,

I created a "global view" containing two other views "Thursday view" and "Saturday view". Thursday view and Saturday view contain identical filter, the problem is that on the page when I change a filter value it affects both views and it creates bugs. Is it possible to have different id for each filter so that they act independently of each other. You can see a schematic attached

thanks a lot for your help

#2096939

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Screenshot 2021-06-23 at 15.30.11.png

You must have done this with the legacy editor, yes?

If you edit the filters in one of the Views you should see (as in the screenshot) that you can change the URL parameter used to pass the value of the filter to the View. By default, each View will be using the same URL parameter and so responding to changes in either of the Views. By making the URL parameters distinct it should be possible to apply the filters independently.

#2096953

thank you Nigel,

I have to use ajax refresh for the filter.
But it doesn't work, how can we change the id of the filters so that they work independently?

#2097589

Thanks for writing back.

I've performed some tests on my website but couldn't reproduce this behaviour with the view set to refresh using AJAX.

For me, the search results were updated only for the view whose filters was used.

Can you please share temporary admin login details, along with the link to the page where this view can be seen?

Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.

Le sujet ‘[Fermé] Muliple identic view filter ID problem’ est fermé à de nouvelles réponses.