Skip to content

Commit 8978bd5

Browse files
Merge pull request #257 from itk-dev/hotfix/2.10.2
release 2.10.2
2 parents 44d1b2b + 8fb624a commit 8978bd5

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [Unreleased]
1010

11+
## [2.10.2] - 2025-12-11
12+
13+
* [PR-265](https://github.com/itk-dev/economics/pull/256)
14+
Add next year as an option for the planning overview.
15+
1116
## [2.10.1] - 2025-11-24
1217

1318
* [PR-250](https://github.com/itk-dev/economics/pull/250)
@@ -514,7 +519,8 @@ complete process.
514519
* Updated to authorization code flow.
515520
* Changed worklog save button styling to be sticky.
516521

517-
[Unreleased]: https://github.com/itk-dev/economics/compare/2.10.1...HEAD
522+
[Unreleased]: https://github.com/itk-dev/economics/compare/2.10.2...HEAD
523+
[2.10.2]: https://github.com/itk-dev/economics/compare/2.10.1...2.10.2
518524
[2.10.1]: https://github.com/itk-dev/economics/compare/2.10.0...2.10.1
519525
[2.10.0]: https://github.com/itk-dev/economics/compare/2.9.4...2.10.0
520526
[2.9.4]: https://github.com/itk-dev/economics/compare/2.9.3...2.9.4

src/Form/PlanningType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class PlanningType extends AbstractType
1414
{
1515
public function buildForm(FormBuilderInterface $builder, array $options): void
1616
{
17-
[$currentYear, $nextYear] = $options['years'];
17+
[$lastYear, $currentYear, $nextYear] = $options['years'];
1818

1919
$builder
2020
->add('year', ChoiceType::class, [
@@ -25,7 +25,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
2525
'row_attr' => ['class' => 'form-row'],
2626
'required' => false,
2727
'empty_data' => $currentYear,
28-
'choices' => [$currentYear => $currentYear, $nextYear => $nextYear],
28+
'choices' => [$lastYear => $lastYear, $currentYear => $currentYear, $nextYear => $nextYear],
2929
'placeholder' => null,
3030
])
3131
->add('group', EntityType::class, [

0 commit comments

Comments
 (0)