Skip to content

Commit 3964be1

Browse files
committed
[test-studio] Fix accessed view options on wrong key
1 parent d745a58 commit 3964be1

File tree

1 file changed

+1
-1
lines changed
  • packages/test-studio/schemas

1 file changed

+1
-1
lines changed

packages/test-studio/schemas/book.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default {
7979
},
8080
prepare(book, options = {}) {
8181
return Object.assign({}, book, {
82-
title: ((options.sorting || {}).name === 'swedishTitle' && (book.translations || {}).se) || book.title,
82+
title: ((options.ordering || {}).name === 'swedishTitle' && (book.translations || {}).se) || book.title,
8383
subtitle: formatSubtitle(book)
8484
})
8585
}

0 commit comments

Comments
 (0)