Skip to content

Add ability to sort embedded indexes by attributes/fields#16732

Merged
brandonkelly merged 2 commits into5.7from
feature/sort-embedded-indexes
Feb 19, 2025
Merged

Add ability to sort embedded indexes by attributes/fields#16732
brandonkelly merged 2 commits into5.7from
feature/sort-embedded-indexes

Conversation

@brandonkelly
Copy link
Copy Markdown
Member

Description

Adds the ability to sort embedded element indexes (e.g. Matrix fields set to the element index view mode) by element attributes/custom fields, like normal element indexes.

When a sort attribute is selected, the drag handles will disappear from nested element cards/table rows. Selecting “Custom” at the top of the “Sort by” field will restore the index to the custom sort order, and bring back the drag handles.

A Matrix field set to the element index view mode, sorting nested entries by a custom field

Related issues

@brandonkelly brandonkelly merged commit 1baf9ff into 5.7 Feb 19, 2025
@brandonkelly brandonkelly deleted the feature/sort-embedded-indexes branch February 19, 2025 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant