Show parts count on AdminPages of PartsContainingDBElements

This commit is contained in:
Jan Böhmer 2019-09-04 19:37:35 +02:00
parent 082608dbd9
commit e19cd67b88
10 changed files with 97 additions and 38 deletions

View file

@ -90,7 +90,7 @@ class Footprint extends PartsContainingDBElement
protected $filename;
/**
* @ORM\OneToMany(targetEntity="Part", mappedBy="footprint")
* @ORM\OneToMany(targetEntity="Part", mappedBy="footprint", fetch="EXTRA_LAZY")
*/
protected $parts;