Closed PawelSuwinski closed 5 months ago
yes it supports that ? https://api-platform.com/docs/core/filters/#order-filter-sorting
yes it supports that ? https://api-platform.com/docs/core/filters/#order-filter-sorting
Yes, backend does (Core) but it can't be used on the frontend side (excluding SwaggerUI) without extending API Platform Admin dataProvider. Correct me if I missed something.
Hi, what about merging it? I thinks it is quite useful, and covers gap between core and admin. We use it as a patch, but would be nice to have it official.
Thank you!
Hi,
Adds possibility to sort of compound filed, ex.
On column sort it gives queries with multiple order parameters:
API Platform Core and SwaggerUI supports compound order (multiple order parameter), but Api Platform Admin doesn't allow to achieve it in some simple way. AFAIK ReactAdmin itself doesn't plan to support multicolumn order in data grids components but resolving of single column order based on sortBy porp it just a dataProvider job, and can be nicely extended to support such kind compound order.