Reindex the collections in CollectionType to prevent issues related of changing the order between the requests.

This commit is contained in:
Jan Böhmer 2020-04-01 15:10:06 +02:00
parent b3805277b9
commit f0a3e9b5af
6 changed files with 128 additions and 1 deletions

View file

@ -96,7 +96,6 @@ class Part extends AttachmentContainingDBElement
* @Assert\Valid()
* @ORM\OneToMany(targetEntity="App\Entity\Parameters\PartParameter", mappedBy="element", cascade={"persist", "remove"}, orphanRemoval=true)
* @ORM\OrderBy({"group" = "ASC" ,"name" = "ASC"})
* @ORM\OrderBy({"group" = "ASC" ,"name" = "ASC"})
*/
protected $parameters;