Home › Toolset Professional Support › Sorting two post types by custom date field not working
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 seanN-5 3 years ago.
I have two post types: Exhibitions and Performances. In a view I pull posts from both post types and have it set to sort based on a custom field called "start date".
I expected that all posts pulled in would sort based on the custom field "start date".
Instead it separates the posts first by post type, then sorts by "start date".
For example three posts with the following "start Dates" sort in this order for Acscending.
Performance 2 October 10
Performance 3 September 25
Exhibition 1 October 3
If Descending selected they sort in the following order:
My issue is resolved now. Thank you!
I have some things to clear up before deciding if I have an issue or not.
Known issues and solutions
Frequently asked support questions
Support tickets archive
Get help from experienced contractors
Meet Toolset support team
Toolset Customer Support Policy
Need to tell us something about the quality of support
How to remove personal information from your database for support