mirror of
https://github.com/Readarr/Readarr
synced 2026-01-30 11:23:00 +01:00
Fixed: Previous / Next author buttons sort by last name
This commit is contained in:
parent
c9cb0a9774
commit
5f1be9e447
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ function createMapStateToProps() {
|
|||
createCommandsSelector(),
|
||||
createDimensionsSelector(),
|
||||
(titleSlug, books, series, bookFiles, allAuthors, commands, dimensions) => {
|
||||
const sortedAuthor = _.orderBy(allAuthors, 'sortName');
|
||||
const sortedAuthor = _.orderBy(allAuthors, 'sortNameLastFirst');
|
||||
const authorIndex = _.findIndex(sortedAuthor, { titleSlug });
|
||||
const author = sortedAuthor[authorIndex];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue