Problem/Motivation
Items in the media library widget are showed in the wrong order, when going back to edit after previewing. This affects both new nodes, as well as already-existing nodes.
Steps to reproduce
- Drupal core 10.1.x-dev
- Standard profile + media + media_library
- Add field_media_images to Basic Page (media reference, unlimited values, allow referencing media/image)
- Create Basic Page, upload 2+ images and insert them
- In the media library widget, reorder the items
- Click on Preview, preview order is correct
- Click on "Back to content editing"
- Observe that the items in the media library widget are now showed in a different order than what was submitted for preview
Proposed resolution
TBD
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | d.o - 3346981-2 - repro.mp4 | 986.38 KB | jedihe |
Comments
Comment #2
jedihe commentedAttaching repro video, duration 1:37.
Comment #3
jedihe commented