Navigation überspringen

[Gelöst] Relationship view filter AJAX

This support ticket is created vor 1 year, 6 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 0 reply, hat 1 Stimme.

Zuletzt aktualisiert von Minesh vor 1 year, 6 months.

Assistiert von: Minesh.

Author
Artikel
#2786475

Tell us what you are trying to do?
I have 2 filters search fields on my view that list related post types. I would like these to affect the other relationship filter dropdown. It already affects the regular taxonomy filter dropdowns, just it doesn't affect the other relationship post dropdown.
Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#2786619

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I'm not sure how you configured your view and how exactly you added the filters to it.

Can you please share problem URL where you added the view and send me admin access details. Once I review your settings I will be able to guide you in the right direction.

*** 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.

#2786793

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

I see you are using the custom shortcode to display the relationship dropdown - is there any special reason?

Normally - following is the Doc you should try to follow to add relationship filter dropdown:
- https://toolset.com/course-lesson/creating-a-custom-search/#how-to-search-by-post-relationships

#2786829

It’s because it only allowed one related post filter. In order to have 2, it needed code unless there is a different way of doing it?

#2786956

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

I checked and I see there is no way to update filters automatically as this is a custom way and event you want to filter results with two relationship.

Maybe if you want to do this on your own then you can update your shortcode code and return the dorpdown select options for both court and partners as per your requirement. You need to add some code to your shortcodes but you will have to manage that on your own as its custom code.

#2786996

Is there a feature request for being able to natively add more than 1 relationship post filter to a view? Currently, anything more than one needs to be custom code. This should be a native feature.

#2787064

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

You can always raise a feature request using the following link:
- https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/