synapse-admin
synapse-admin copied to clipboard
Deleting a media resets the list
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
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.
Seems to be fixed.