Skip to content

Commit 65ae8f2

Browse files
authored
Merge pull request #9048 from marmelab/doc-fix-some-typo-in-fields-intro
[Doc] - Correct sortBy props value in Combining Two Fields chapter
2 parents 468089e + 6e2ef24 commit 65ae8f2

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)