[API] Add default sorting order for customers admin GET endpoint

This commit is contained in:
Grzegorz Sadowski 2024-10-08 08:46:21 +02:00
parent 593bd945c8
commit 97a257e4f6
No known key found for this signature in database
GPG key ID: EF87FF4E6E3BD364
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,13 @@
# UPGRADE FROM `v1.13.6` TO `v1.13.7`
1. The default order attribute has been added to the endpoint GET `/admin/customers` endpoint
```diff
+ <attribute name="order">
+ <attribute name="createdAt">DESC</attribute>
+ </attribute>
```
# UPGRADE FROM `v1.13.3` TO `v1.13.4`
1. The `api/v2/shop/adjustments/{id}` endpoint has been disabled.

View file

@ -31,6 +31,9 @@
<attribute name="filters">
<attribute>sylius.api.customer_group_filter</attribute>
</attribute>
<attribute name="order">
<attribute name="createdAt">DESC</attribute>
</attribute>
</collectionOperation>
<collectionOperation name="admin_post">