Skip to content

Commit 6e2ef24

Browse files
committed
Fix sortBy props in Combining Two Fields
1 parent 9eaa64d commit 6e2ef24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/Fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ const BookList = () => (
418418
<List>
419419
<Datagrid>
420420
<TextField source="title" />
421-
<WrapperField label="author" sortBy="author.last_name">
421+
<WrapperField label="author" sortBy="author_last_name">
422422
<TextField source="author_first_name" />
423423
<TextField source="author_last_name" />
424424
</WrapperField>

0 commit comments

Comments
 (0)