enochH
Support threads created in the last 30 days: 0
Favorite Forum Topics
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Filter and/OR sort by Custom field in M2M relationship
Started by: enochH
in: Toolset Professional Support
Problem: I would like to sort and filter a View of an M2M post using a custom field on the intermediary relationship post. Solution: The intermediary post type must be public because the View must query the intermediary post type. Then you can sort or filter by the custom fields of the intermediary post, and use the item attribute syntax to display information about the parent or child post type. If you already created a relationship and didn’t specify a public intermediary post, you can edit the post type at Toolset > Post Types and change the status of the post type from draft to published. We plan to add the ability to sort and filter a View by fields of other related posts (but not by fields of hidden intermediary posts) soon after M2M stable version is released. Relevant Documentation: |
3 | 6 | 5 years, 12 months ago |
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Filter and/OR sort by Custom field in M2M relationship
Started by: enochH
in: Toolset Professional Support
Problem: I would like to sort and filter a View of an M2M post using a custom field on the intermediary relationship post. Solution: The intermediary post type must be public because the View must query the intermediary post type. Then you can sort or filter by the custom fields of the intermediary post, and use the item attribute syntax to display information about the parent or child post type. If you already created a relationship and didn’t specify a public intermediary post, you can edit the post type at Toolset > Post Types and change the status of the post type from draft to published. We plan to add the ability to sort and filter a View by fields of other related posts (but not by fields of hidden intermediary posts) soon after M2M stable version is released. Relevant Documentation: |
3 | 6 | 5 years, 12 months ago |