kinto-admin
kinto-admin copied to clipboard
Collection sort attribute not taken into account
I create a collection with sort: id
The records list is sorted by -last-modified
I investigated this. Basically, the collection metadata are not yet available (ROUTE_LOAD_SUCCESS
) when the records listing is sent (COLLECTION_RECORDS_REQUEST
)
The workaround I can think of is to sort the records on the client side where COLLECTION_RECORDS_SUCCESS
is handled...