mirror of
https://github.com/directus/directus.git
synced 2026-02-02 02:45:01 -05:00
* app: fix sort creating items Problem: When sorting, the relations were assigned to another fresh created items on the related collection Why: It was missing the primary key on nested relation. When the primary key is missing, new item is created. How to fix: Iterate over all fields to request and when nested field is found, append the nested primary key. * Make function name more descriptive, add comment, fix linter warning Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
@directus/app
The Directus Admin App. Included with directus itself. You wouldn't install this package separately.