mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-05 02:34:56 +02:00
New data model for global search input and search page
This commit is contained in:
parent
30f15d3575
commit
ea9ec13845
16 changed files with 241 additions and 88 deletions
|
@ -30,7 +30,7 @@ export default {
|
|||
return null
|
||||
})
|
||||
results = {
|
||||
audiobooks: results && results.audiobooks.length ? results.audiobooks : null,
|
||||
books: results && results.book.length ? results.book : null,
|
||||
authors: results && results.authors.length ? results.authors : null,
|
||||
series: results && results.series.length ? results.series : null,
|
||||
tags: results && results.tags.length ? results.tags : null
|
||||
|
@ -67,7 +67,7 @@ export default {
|
|||
return null
|
||||
})
|
||||
this.results = {
|
||||
audiobooks: results && results.audiobooks.length ? results.audiobooks : null,
|
||||
books: results && results.book.length ? results.book : null,
|
||||
authors: results && results.authors.length ? results.authors : null,
|
||||
series: results && results.series.length ? results.series : null,
|
||||
tags: results && results.tags.length ? results.tags : null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue