From 27e1562190c2e2d4ee76d5dcf45003bd4b0aef63 Mon Sep 17 00:00:00 2001 From: vgreb Date: Mon, 23 Feb 2026 22:32:03 +0100 Subject: [PATCH] =?UTF-8?q?fix(accounting):=20Correction=20de=20la=20liste?= =?UTF-8?q?=20des=20=C3=A9v=C3=A8nements=20dans=20l'=C3=A9dition=20du=20jo?= =?UTF-8?q?urnal=20bancaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug remonté dans [Slack](https://afup.slack.com/archives/C03L64VE9/p1771840759980139). On peut voir dans le commit de refonte, le legacy utilisait la methode `Afup\Site\Comptabilite\Comptabilite::obtenirListEvenements()` (cf. [compta_journal.php:104](https://github.com/afup/web/commit/4b6d3262a135d97a2b1b18810e10661c0a1616ad#diff-76bd932433fab4f90224549069d0de5b421e984b9832367e31fcc7e1a7da595cL104)). --- sources/AppBundle/Accounting/Form/TransactionType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/AppBundle/Accounting/Form/TransactionType.php b/sources/AppBundle/Accounting/Form/TransactionType.php index 62a65f882..f978e4482 100644 --- a/sources/AppBundle/Accounting/Form/TransactionType.php +++ b/sources/AppBundle/Accounting/Form/TransactionType.php @@ -226,7 +226,7 @@ private function buildEventChoice(): array { $choices = []; /** @var Event $event */ - foreach ($this->eventRepository->getAllSortedByName(true) as $event) { + foreach ($this->eventRepository->getAllSortedByName() as $event) { $choices[$event->name] = $event->id; }