Feat: Make some entities soft-deletable
This commit is contained in:
1 parent
168a69c103
commit
d7bbb4bb29
27 files changed
+213
-63
No files matched your search
@@ -28,6 +28,7 @@ class TrainingRepository extends ServiceEntityRepository
|
||||
return $qb
|
||||
->select('training', 'training_attendance')
|
||||
->leftJoin('training.trainingAttendances', 'training_attendance')
|
||||
->where($qb->expr()->isNull('training.deletedAt'))
|
||||
->orderBy('training.name', 'ASC')
|
||||
->getQuery()
|
||||
->getResult()
|
||||
|
||||
Reference in new issue
Block a user