We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d745a58 commit 3964be1Copy full SHA for 3964be1
packages/test-studio/schemas/book.js
@@ -79,7 +79,7 @@ export default {
79
},
80
prepare(book, options = {}) {
81
return Object.assign({}, book, {
82
- title: ((options.sorting || {}).name === 'swedishTitle' && (book.translations || {}).se) || book.title,
+ title: ((options.ordering || {}).name === 'swedishTitle' && (book.translations || {}).se) || book.title,
83
subtitle: formatSubtitle(book)
84
})
85
}
0 commit comments