synapse-admin icon indicating copy to clipboard operation
synapse-admin copied to clipboard

Deleting a media resets the list

Open Polve opened this issue 4 years ago • 1 comments

If for example I sort user media by size and then I delete one of the media, after deletion the list resets and I need to change again the sort criteria

Polve avatar Aug 22 '21 12:08 Polve

Reason is this line: https://github.com/Awesome-Technologies/synapse-admin/blob/865fc98336a1505f268065f8d85dd8e2452903df/src/components/users.js#L437

Without this line react-admin requests per default sorting by id. Id is not a valid sort order and Synapse response with an error.

dklimpel avatar Aug 24 '21 13:08 dklimpel

Seems to be fixed.

awesome-manuel avatar Feb 07 '24 17:02 awesome-manuel