Ok, your solution works, thanks.
I want to display the output of the parent view (Articles Child View) as a sortable table. If I click on the header of the Autor in the table to sort for autor last name or autor first name, the output says "no items found". I think it is because of the parent view, which is (like you described in your post) a hefte-articles relationship and has nothing to do with the autor. So I guess it is not possible to sort for autor in a nested view? The Child view is the "Hefte-Article Autor Child View", which is nested in the parent view (Articles Child View).
Nigel
Supporter
Sprachen:
Englisch (English )
Spanisch (Español )
Zeitzone:
Europe/London (GMT+00:00)
Hi Thorsten
I wasn't sure whether it should be possible to have a sortable table that works with fields from related posts so I set up a test site to check. I found that it works with standard fields, such as the post title, but not with custom fields.
So it seems we have a problem here.
I've escalated this so my colleagues can investigate further, and I'll let you know what they find.
Hi Nigel,
thanks for letting me know. Ok, than I would use the standard field (post title) in the table header of the parent view. But how can I implement the post title as header from the child view?
Nigel
Supporter
Sprachen:
Englisch (English )
Spanisch (Español )
Zeitzone:
Europe/London (GMT+00:00)
When you use the Loop Wizard to generate the markup and template for a sortable table, when you are adding fields there is an edit button beside each field. Using that you will get the normal dialog that appears when inserting fields via the Fields and Views button, which includes the Post selection tab where you can specify a post from a relationship as the source.
Ok, this works partitially. When I know click on the autor heading, he is sorting in some way but not in alphabetical order. Could the problem be, that the Autoren are created as "last name, first name" in the post-title?
Nigel
Supporter
Sprachen:
Englisch (English )
Spanisch (Español )
Zeitzone:
Europe/London (GMT+00:00)
I just had feedback from my colleague that this is not expected to work, sortable tables with columns from related posts is not currently supported, and although the standard fields (post title) and custom fields fail differently, they are both failing.
There is an existing internal ticket to add such support and we have raised the urgency of it, but I can't say when it will be worked on.
I'm sorry that there isn't anything else I can do for now.
No problem, Nigel. You did your best to help me and you could help me anyway. Thanks for your support!