From 6742ad2efc0cb8d7fc4514d042ef1dc5fb359b88 Mon Sep 17 00:00:00 2001 From: Jonathan Foucher <jfoucher@gmail.com> Date: Thu, 4 Aug 2022 09:47:45 +0200 Subject: [PATCH] update version + set inverse date order for planified actions on dashboard. --- config/packages/framework.yaml | 2 +- src/Infrastructure/ORM/Registry/Repository/Mesurement.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/packages/framework.yaml b/config/packages/framework.yaml index 1bb16401d..e84fc0636 100644 --- a/config/packages/framework.yaml +++ b/config/packages/framework.yaml @@ -1,5 +1,5 @@ parameters: - app.version: "1.10.13" + app.version: "1.10.14" framework: secret: '%env(APP_SECRET)%' diff --git a/src/Infrastructure/ORM/Registry/Repository/Mesurement.php b/src/Infrastructure/ORM/Registry/Repository/Mesurement.php index 3e093efff..d9d9b327c 100644 --- a/src/Infrastructure/ORM/Registry/Repository/Mesurement.php +++ b/src/Infrastructure/ORM/Registry/Repository/Mesurement.php @@ -380,7 +380,7 @@ class Mesurement extends CRUDRepository implements Repository\Mesurement ->andWhere('u.status = :status') ->setParameter('date_start', $date->format('Y-m-d')) ->setParameter('status', 'not-applied') - ->orderBy('u.planificationDate', 'ASC') + ->orderBy('u.planificationDate', 'DESC') ; if ($collectivity) { -- GitLab