Fixed sorting for element choice type and added tests

This commit is contained in:
Jan Böhmer 2023-07-23 01:01:29 +02:00
parent 61f02d693f
commit 1ec4266f96
5 changed files with 167 additions and 5 deletions

View file

@ -73,7 +73,7 @@ class NodesListBuilder
return $repo->getElementsAndPreviewAttachmentByIDs($ids);
}
return $repo->getElementsFromIDArray($ids);
return $repo->findByIDInMatchingOrder($ids);
}
/**