mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-28 04:30:08 +02:00
Reindex the collections in CollectionType to prevent issues related of changing the order between the requests.
This commit is contained in:
parent
b3805277b9
commit
f0a3e9b5af
6 changed files with 128 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue