mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-21 06:21:19 -04:00
[web-src] Keep the search text when switching to/from Spotify search
This commit is contained in:
parent
758ae1f31a
commit
d4a5286268
@ -250,6 +250,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.search_query = route.query.query
|
||||||
this.searchMusic(route.query)
|
this.searchMusic(route.query)
|
||||||
this.searchAudiobooks(route.query)
|
this.searchAudiobooks(route.query)
|
||||||
this.searchPodcasts(route.query)
|
this.searchPodcasts(route.query)
|
||||||
|
@ -265,6 +265,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.search_query = this.query.query
|
||||||
this.search_param.limit = this.query.limit ? this.query.limit : 50
|
this.search_param.limit = this.query.limit ? this.query.limit : 50
|
||||||
this.search_param.offset = this.query.offset ? this.query.offset : 0
|
this.search_param.offset = this.query.offset ? this.query.offset : 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user