Skip Navigation

[Waiting for user feedback] Filter view results based on one-to-many relationship.

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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 1 voice.

Last updated by Minesh 2 days, 13 hours ago.

Assisted by: Minesh.

Author
Posts
#2842504
Screenshot 2026-01-06 at 11.42.53 PM.png

I have two CPT's (Series and Discussions) that are in a one-to-many relationship. One Series can be related to many Discussions. However, not all of my Series are related to a Discussion. I'm trying to create a view that will display all Series that are connected to at least one Discussion. Basically, if a Series is related to one or more Discussions, I want it displayed in this view.

I've tried using the "Filter by post relationship or repeatable fields group owner," but I can't seem to get it to work correctly.

The page I'm trying to put this on is the Discussions archive page. The view will be a slider that displays all of the Series that have more Discussions the user can find.

Link: hidden link

#2842513

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Based on the requirement you shared, I assume that you might have to use the nested view in this case but I need to reivew your view structure and see if that suits as you need to display slider.

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