Skip Navigation

[Resolved] New View is not displaying results

This support ticket is created 2 years, 11 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by Shane 2 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#2240777
Bildschirmfoto 2021-12-09 um 17.56.04.png

I have created a new View (hidden link), in order to display Event items within related Exhibition items.

However, even without any further filter (relationship etc.) the view is displaying no results.

E.g. on this Exhibition hidden link There should be displayed an Event "Finissage" (hidden link) listed instead of the "." after the main text block (the "." is the "No posts found" placeholder)

Obviously as you can get from the Event to the linked Exhibition, the relationship *does* exist.

I cannot figure out what could prevent the Event items to be displayed. What could be wrong?

#2240923

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for getting in touch.

I see that you have set an order by the custom field "From" can you set the ordering to post date and let me know if the items start showing then ?

Thanks,
Shane

#2241269

Thank you Shane for the reply.

Indeed with Sort by Post Date it works, and then I set it to Sort by From again and it is still working.

I am happy that it works but still don't understand this, because to me it looks exactly the same that I did first, when it didn't work 🤔

Best wishes, Claudius

#2241675

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Claudius,

Happy to see that is working now, however without a full investigation I'm unable to say why it stopped working.

However I do know that the post ordering will exclude posts that don't have a sortable value. So if you're sorting by the Form custom field then posts that don't have that field filled in will be removed from the results since they don't have a sortable value.

Thanks,
Shane

#2241779
Bildschirmfoto 2021-12-10 um 17.29.28.png
Bildschirmfoto 2021-12-10 um 17.29.36.png

It is in the nature of an Event to have a start datetime (from), but it was indeed not easy to figure out which is the one "From" field belonging to the Events and not to other CPT (see screenshot) – additional info like the (unique) slug would be helpful to make sure you hit the right field. I supposed from the neighbored fields that I hit the "Event From" field 😉

#2241925

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Claudius,

Given the nature of the fields there isn't much we can do in terms of identifying the field name.

Our views plugin will list the fields based on how the respective plugin declares them. Ofcource there will be duplicate field names but the slug is always unique.

Thanks,
Shane