Bugfix sort users by user_id

Users are not sortable by `user_id`.
Set `sortable={false}`.
This commit is contained in:
dklimpel 2020-05-26 17:37:43 +02:00 committed by Manuel Stahl
parent b7c3684b80
commit 5bdfb80db7

View file

@ -78,7 +78,7 @@ export const UserList = props => (
>
<ImageField source="avatar_url" title="displayname" />
</ReferenceField>
<TextField source="id" />
<TextField source="id" sortable={false} />
{/* Hack since the users endpoint does not give displaynames in the list*/}
<ReferenceField
source="name"