mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 18:24:46 +02:00
Update:Book subtitle searchable #1755
This commit is contained in:
parent
f9a668cb41
commit
30009e45da
2 changed files with 3 additions and 3 deletions
|
@ -411,7 +411,7 @@ class BookMetadata {
|
|||
return this.narrators.filter(n => cleanStringForSearch(n).includes(query))
|
||||
}
|
||||
searchQuery(query) { // Returns key if match is found
|
||||
const keysToCheck = ['title', 'asin', 'isbn']
|
||||
const keysToCheck = ['title', 'asin', 'isbn', 'subtitle']
|
||||
for (const key of keysToCheck) {
|
||||
if (this[key] && cleanStringForSearch(String(this[key])).includes(query)) {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue