Skip to content

Commit

Permalink
Merge branch 'hotfix/0.21.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
polosson committed May 15, 2023
2 parents 7838e5a + a5d1a4a commit 9b4b057
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Tous les changements notables sur le projet sont documentés dans ce fichier.

Ce projet adhère au principe du [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.21.2 (2023-05-15)

- Corrige l'édition des modèles de liste (Premium).
- Corrige la modification du matériel des événements qui se terminent le jour courant.

## 0.21.1 (2023-05-15)

- Corrige les inventaires de retour qui n'affichaient plus la liste du matériel.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.21.1
0.21.2
2 changes: 1 addition & 1 deletion server/src/App/Controllers/BookingController.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function updateMaterials(Request $request, Response $response): Response
Event::TYPE => Event::query()
->where(function ($query) {
$query
->where('end_date', '>=', Carbon::tomorrow())
->where('end_date', '>=', Carbon::today())
->orWhere(function ($query) {
$query
->where('end_date', '<=', Carbon::today())
Expand Down

0 comments on commit 9b4b057

Please sign in to comment.