FeatureFuel
8

Specify sort by field on one to many field

Source: directus/directus#22799 · opened by @alexvdvalk
Summary When adding a one to many field, I want to specify a field on which i can sort within the interface: ![Screenshot 2024-06-19 at 15 22 29]( This can be manually done in the table layout, but selected sort is not persisted when i navigate between items. Basic Example When adding a One to many field, I can either specify and create a "SORT" field, which means users can manually sort the related items, or I can specify another field and direction which will be included in the API request when loading the one 2 many interface. Motivation In cases where there are hundreds of related items in a one to many field, users see the labels as configured in the interface config, but the order seems arbitary. Detailed Design Two additional fields on the field config: - option to select a field from the related collection - sort direction - Ascending or Descending There will need to be a check in place that will ensure the manual sort is not used. When the m…

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