mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-21 17:54:24 +00:00
Merge remote-tracking branch 'origin/testing-202505' into testing-202505
This commit is contained in:
commit
388030952b
@ -316,7 +316,17 @@ final class AccompanyingCourseApiController extends ApiController
|
||||
$total = $this->accompanyingPeriodWorkRepository->countByAccompanyingPeriod($accompanyingPeriod);
|
||||
$paginator = $this->getPaginatorFactory()->create($total);
|
||||
|
||||
$works = $this->accompanyingPeriodWorkRepository->findByAccompanyingPeriod($accompanyingPeriod, null, $paginator->getItemsPerPage(), $paginator->getCurrentPageFirstItemNumber());
|
||||
$works = $this->accompanyingPeriodWorkRepository->findByAccompanyingPeriodOpenFirst(
|
||||
$accompanyingPeriod,
|
||||
[
|
||||
'types' => [],
|
||||
'before' => null,
|
||||
'after' => null,
|
||||
'user' => [],
|
||||
],
|
||||
$paginator->getItemsPerPage(),
|
||||
$paginator->getCurrentPageFirstItemNumber()
|
||||
);
|
||||
|
||||
$collection = new Collection($works, $paginator);
|
||||
|
||||
|
@ -14,6 +14,15 @@
|
||||
"config/routes/annotations.yaml"
|
||||
]
|
||||
},
|
||||
"doctrine/deprecations": {
|
||||
"version": "1.1",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "1.0",
|
||||
"ref": "87424683adc81d7dc305eefec1fced883084aab9"
|
||||
}
|
||||
},
|
||||
"doctrine/doctrine-bundle": {
|
||||
"version": "2.13",
|
||||
"recipe": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user