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.
Comments
Similar requests
`sort` field is visible after creating a M2M field
1 vote · 0 comments
Multiple Sort on O2M interface
4 votes · 0 comments
Make it easier to sort bookmarks under a collection
11 votes · 0 comments
Add Sorting for Manually Triggered Flows
3 votes · 0 comments
Set Item Duplication Fields automatically
26 votes · 0 comments
No comments yet.