Fixes for feature "Regroupment of center"

* allow more than 15 character in regroupment name
* remove unused methods in PickCenterType
* show only active Regroupment in form
* remove dead code and commented code
This commit is contained in:
2023-03-01 17:10:59 +01:00
parent 73fa585707
commit 62532e0a90
6 changed files with 43 additions and 39 deletions

View File

@@ -38,6 +38,11 @@ final class RegroupmentRepository implements ObjectRepository
return $this->repository->findAll();
}
public function findAllActive(): array
{
return $this->repository->findBy(['isActive' => true], ['name' => 'ASC']);
}
/**
* @param mixed|null $limit
* @param mixed|null $offset