diff --git a/.claude/settings.local.json b/.claude/settings.local.json index f87e42e..0a5facb 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -2,7 +2,9 @@ "permissions": { "allow": [ "Bash(npm run:*)", - "WebFetch(domain:geo.api.gouv.fr)" + "WebFetch(domain:geo.api.gouv.fr)", + "Bash(pip3 install:*)", + "Bash(python3 -c \":*)" ] } } diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 97f6447..b912a65 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,12 +4,12 @@ - @@ -793,7 +794,8 @@ - diff --git a/frontend/components/reception/reception-form.vue b/frontend/components/reception/reception-form.vue index 3b18621..e2602fc 100644 --- a/frontend/components/reception/reception-form.vue +++ b/frontend/components/reception/reception-form.vue @@ -116,7 +116,7 @@
Valider diff --git a/src/Entity/Reception.php b/src/Entity/Reception.php index 2ef4dec..a2e4520 100644 --- a/src/Entity/Reception.php +++ b/src/Entity/Reception.php @@ -31,6 +31,7 @@ use Symfony\Component\Serializer\Normalizer\DateTimeNormalizer; #[ORM\Table(name: 'reception')] #[ApiFilter(BooleanFilter::class, properties: ['isValid'])] #[ApiResource( + order: ['id' => 'DESC'], operations: [ new Get( requirements: ['id' => '\d+'], diff --git a/src/Entity/Shipment.php b/src/Entity/Shipment.php index 7281a66..d52c2c5 100644 --- a/src/Entity/Shipment.php +++ b/src/Entity/Shipment.php @@ -31,6 +31,7 @@ use Symfony\Component\Serializer\Normalizer\DateTimeNormalizer; #[ORM\Table(name: 'shipment')] #[ApiFilter(BooleanFilter::class, properties: ['isValid'])] #[ApiResource( + order: ['id' => 'DESC'], operations: [ new Get( requirements: ['id' => '\d+'],