Skip Navigation

[Resolved] View with filter by post relationship always showing no results

This support ticket is created 3 years, 3 months ago. 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.

This topic contains 1 reply, has 1 voice.

Last updated by jaumeB 3 years, 3 months ago.

Author
Posts
#2200919

Tell us what you are trying to do?
Hi,
I have a custom post "Ecosystem" and another "Project". Both are linked by an M2M type relationship ("project-ecosystem") .
I have a view (Ecosystem View) where the ecosystems created by the author who is logged in are shown. The results are filtered with "Post Author filter". So far so good.

Now comes the problem. For each ecosystem found I want to show the associated projects. For this I have created another view in which I show a list of projects filtered by the Project-Ecosystem relationship . This view goes inside the loop of the "Ecosystem view".

The problem is that the projects view always shows that there are no results, when I know there are projects.
I have tried to remove the filter and then it does show projects.
I have also tried using a shortcode attribute instead of the post in the loop, but it doesn't work either.

I have unsuccessfully looked at the documentation and all possible similar cases. Toolset plugins are up to date.
I have views filtered by relationships inside other views that are working. I don't know if the problem comes with the last release.

Thank you very much for your help

#2200959

I think I have an issue with a custom project status.... My issue is resolved now. Thank you!