mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-10 23:53:42 +02:00
Change: Multiple authors are treated separately for filtering and searching #103
This commit is contained in:
@ -174,10 +174,14 @@ class ApiController {
|
||||
}
|
||||
bookMatches.push(bookMatchObj)
|
||||
}
|
||||
if (queryResult.author && !authorMatches[queryResult.author]) {
|
||||
authorMatches[queryResult.author] = {
|
||||
author: queryResult.author
|
||||
}
|
||||
if (queryResult.authors) {
|
||||
queryResult.authors.forEach((author) => {
|
||||
if (!authorMatches[author]) {
|
||||
authorMatches[author] = {
|
||||
author: author
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
if (queryResult.series) {
|
||||
if (!seriesMatches[queryResult.series]) {
|
||||
|
Reference in New Issue
Block a user