FeatureFuel
4

Multiple Sort on O2M interface

Source: directus/directus#24371 · opened by @alexvdvalk
Summary The o2m interface currently allows users to specify a default sort order based on a field in the related table. Directus API supports multiple sorts within a single query and this would be helpful in some instances. The proposal is some additional config on the o2m interface that allows users to select more than field to sort on. Currently, a single field is supported ( so this would need to be modified to allow multiple selections, and the o2m component would need to check if the legacy 'sort' field is present. Basic Example <img width="837" alt="Screenshot 2025-01-09 at 14 47 52" src=" /> Simple example where a product has categories, and each category has a type. The desired workflow would sort it by type and then alphabetically by the name, which would make things easier to understand, especially in cases where an item has a large number of related items. Motivation Better visibility of items with lots of related items. …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests