Navigation überspringen

[Warten auf das Feedback der Benutzer] Query filter with in a view doesn’t work properly if there is no related post

This support ticket is created vor 2 Tage, 10 Stunden. 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 -

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

Dieses Thema enthält 1 Antwort, hat 1 Stimme.

Zuletzt aktualisiert von Minesh vor 1 Tag, 6 Stunden.

Assistiert von: Minesh.

Author
Artikel
#2798144

I am trying to:
- I created a simple view to display a text from post type "A" with a query filter. The filter selects items in a relationship of post type "A" and "B" using "The post with ID set by the shortcode attribute".
- Some posts of the post type "A" do not have a related post of the post type "B". But a view instead of showing nothing, displays a text field of the first post "A". This creates a huge mess and it looks like a bug in my opinion.
- When I place an id of the related post into shortcode attribute the view's query filter still doesn't work.
- However, if I use other query filter options and the view doesn't have a shortcode attribute in it I don't see such issue. In this case if no related posts - view would display nothing.

Link to a page where the issue can be seen:
versteckter Link

#2798430

Minesh
Supporter

Sprachen: Englisch (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL and tell me for what post you do not have related post available or for what post there is no related post-relationship post available and also share what view you are using.

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